PDA

View Full Version : Full Height Div


mikey3521
09-08-2005, 12:38 AM
If you view http://www.stephenkingphotography.ca/ in firefox the screen stops and its white from the end down instead of having the background contiune.. How can this be fixed?

_Aerospace_Eng_
09-08-2005, 12:45 AM
Add this to your CSS
html {
height:100%;
}
This will get you off in the right direction but now your footer is too far down, you'll have to counteract this by giving it a negative top margin.
#footer {
clear: both;
margin-top:-50px;
padding-top: 5px;
text-align: left;
}

mikey3521
09-08-2005, 01:28 AM
hey thanks but that dont work haha goto the faq page, or the bio page you will see the problem

_Aerospace_Eng_
09-08-2005, 01:52 AM
Okay I see what you mean. Check out this example http://bonrouge.com/hcf-fluid.php see if you can work it into your layout some how.