benipsen
07-24-2007, 04:45 PM
For some reason, my body background color declarations won't fill up the entire page if there isn't enough content to reach the bottom. I've noticed this on Firefox and Safari- but IE seems to work fine. Here is my current declaration:
body
{
padding: 0;
margin: 0;
background-color:#313C42;
color:#FFF ;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
I've attempted to add dimensions like width:100%; and height:100%; however they don't seem to have any effect. Additionally I have tried almost every single doctype under the sun. And still, there is white space. Interestingly enough, when I resize the window- the color will fill the space.
To see an example: http://wholesystemsdesign.com
Has anyone else struggled with this issue?
body
{
padding: 0;
margin: 0;
background-color:#313C42;
color:#FFF ;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
I've attempted to add dimensions like width:100%; and height:100%; however they don't seem to have any effect. Additionally I have tried almost every single doctype under the sun. And still, there is white space. Interestingly enough, when I resize the window- the color will fill the space.
To see an example: http://wholesystemsdesign.com
Has anyone else struggled with this issue?