Div alignment without float
1. How to align divs as left without using float property?

2. At the same time have to assign width to first div dynamically based on second div?
Div alignment without float
===

1. How to align divs as left without using float property?

2. At the same time have to assign width to first div dynamically based on second div?