Forum Moderators: not2easy
how to fix this?
<body style="height: 100%; margin: 0px;">
<div style="min-height: 100%; background: purple;">
<div style="height: 100px; background: yellow;">header</div>
<div style="min-height: 100%; background: green; width: 100px;">content Lorem .onec vestibulum aliquet lorem. In eget sem a eros aliquet eleifend. Ut eget tellus. Proin eget lacus. Aenean sagittis lobortis sapien. Duis consequat varius
</div>
</div>
</body>
only in quircksmode it fills out, but much too much.
with html{height: 100%;} the bottom div (green) becomes 100% in height because its parent (purple container) is 100%. But what I want is to get it to fill the remaining part of 100%-100px.
same problem for width. relative and fixed sizes are not to be mixed.
say you want 3-column layout:
50% 100px 50%
that seems impossible in css2. for some things tables still rule!
maybe css3 will bring the solution to this and a 1000 other issues...