html - Auto stretching vertical columns (divs) -


check fiddle please:

i want following: red column has text, yellow dynamic content, green has nothing, color. want both red , green columns height yellow content. height: 100% didnt work

you can use negative margins achieve result enter image description here

the floating divs should wrapped in container overflow:hidden fiddle code

#container {     overflow:hidden; }  #container div {     padding-bottom:2000px;     margin-bottom:-2000px; } 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -