html - CSS Stacked divs -


i have divs floating left, if see attached jsfiddle see im trying do, in fiddle there yellow box, need flush bottom of green box im not sure if possible?

is it? , if how may this? in advance!

http://jsfiddle.net/k5zjc/

try this jsfiddle. techincally, float .box items right instead of left , getting self-filling columns in accordance content. so, in css add:

.box:nth-child(odd) {clear: left} .box:nth-child(even) {float: right; clear: right} 

update

apparently solution doesn't work nice if have more these specific blocks. so, probably, jquery masonry way result.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -