...

View Full Version : firefox html4 background height problem



chris_angell
05-10-2007, 03:46 PM
hello i am making a site but i am having troubles with the background division height, i want it to be be 100% but the content in my pages is overflowing the background ??

if you look at the link below in firefox and ie, you will see what i mean, the main content is over flowing on the firefox version ??? but i can't work out why the background div is not covering this..

my link to view
http://preview.globalwebcity.com/_chris/work/moocow/v3/template.asp

also here is the css i am using,, the background division is called DivContainer


html {
height: 100%;
}
body {
background-repeat: repeat-x;
background-attachment: fixed;
background-position: center top;
text-align: center;
padding: 0;
margin: 0 auto;
margin-top: 0;
height: 100%;
min-height: 100%;
background-color: #BFE6F8;
}
#DivContainer {
width: 766px;
margin: 0 auto;
top: 130px;
height: 100%;
background-color: white;
}



many thanks chris...

smalldog
05-10-2007, 09:16 PM
Hi Chris,

just remove this code



html {
height: 100%;
}


from your css definition file. I think it should work then :)

chris_angell
05-10-2007, 10:10 PM
really !!!

:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum