Mon, 2005-03-07 23:05
I have a little problem about height inheritance.
I have a block element, wrapper, with the height set to 100%. Next I wanted the inner block element, blocker, to inheritance the height of its parent, but that seems to be kind of tricky. Too tricky for me anyway
I've read somewhere it's because the height inheritance stops when using a overflow like 100%. Well, if anyone want to help me out, I will be most thankful
#wrapper { min-height: 100%; height: auto !important; height: 100%; } #blocker { min-height: 100%; height: auto !important; height: 100%; } <div id="wrapper"> <div id="blocker">block element should have a 100% height also</div> </div>