hey guys..
i have a problem on IE7. following css causing this. the problem is that wrapper div when its height is less than viewable area of the browser, browser doesn't apply background color. only applied to main div.
body
{
background-color: #363636;
color: #FFFFFF;
font-family: tahoma,sans-serif;
font-size: 70%;
height: 100%;
line-height: 1.2em;
margin: 0;
padding: 0;
text-align: left;
width: 100%;
}
i fixed this giving same background color html but same code is working on another website www.biranket.com
html
{
/* Fix for background issue in IE */
background-color: #363636;
height: 100%;
width: 100%;
}
body
{
background-color: #363636;
color: #FFFFFF;
font-family: tahoma,sans-serif;
font-size: 70%;
height: 100%;
line-height: 1.2em;
margin: 0;
padding: 0;
text-align: left;
width: 100%;
}
anyone knows why it is happening ?