Hi all,
I have different DIVS floating to left (float:left) that have different heights. I need to stack this divs like image attached:
http://www.krazy.es/images-stackov/capture-divs.jpg
Thanks in advance.
CoolBurn.
Hi all,
I have different DIVS floating to left (float:left) that have different heights. I need to stack this divs like image attached:
http://www.krazy.es/images-stackov/capture-divs.jpg
Thanks in advance.
CoolBurn.
Container 1,2,5, and 6 should be in a div, and container 3 and 4 should be in a div. Float THOSE divs.
It looks like the DIV
with "container 5" has a clear:left;
or clear:both;
set in the CSS.
Edit
Nevermind, you have all your divs floated left. Here's some sample code:
If you play with the width of the window, you'll notice that the divs will attempt to fill up all the available horizontal space. The messiness you are seeing results from the divs having different vertical heights. You would get the desired results if:
height:90px;
(set it to the largest common denominator)Option #2 is my favorite.