Lee Powell wrote:
> http://www.sixtyten.co.uk/sandpit/testheight.html
> 
> When scrolling down the page it gets cut off!!

You're right: html and body, and subsequently the div, are taking height
from the window - regardless of how tall that is. The text will then
overflow the div. You must replace 'height' with 'min-height', to allow
the div to grow taller when necessary.

Change...

div {
        height: 100%;
        width: 600px;
        background-color: blue;
}

...to...

div {
        min-height: 100%;
        width: 600px;
        background-color: blue;
}

...to make it work.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to