CSS 100% div height
I created a fiddle for my issue: http://jsfiddle.net/XJpGT/
The height of the green box should be alyways be 100% but at the same time
the green and the orange box should not be bigger than the blue. I made a
screen for a better understanding:
http://img716.imageshack.us/img716/3736/b3oe.png
Is this possible? The content is dynamic, so all the boxes can have a
different heights.
I tried to accomplish with the following code but as you can see in the
fiddle it's not working like I want.
.right1:after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
}
No comments:
Post a Comment