On 07/09/12 11:54, Gergely Buday wrote: > Hi, > > I would like to have a main div whose height is at least the window's > height, but extends to the end of the text if that is longer. My > html/css code exhibits a strange error: the colour lasts only till the > end of the window height. How can I fix this? >
try removing height: 100%; -- Niels Muller Larsen, MSc Programmer, College Professor His designs were strictly honourable, as the phrase is: that is, to rob a lady of her fortune by way of marriage. -- Henry Fielding, "Tom Jones" ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/