HundredPercentHeight


HundredPercentHeight

Description: Setting a div to fill up the whole window is not as simple as setting its height to 100%. The reason this doesn't work is that percentages (when used as the unit on height or width; text size is another story) are relative to their parent dimensions. If you haven't set a height on the parent, the div with 100% height has nothing to base that height off of.
Keywords: Posted: 5.04.2007 01:16:57

Related Sites