Designing a webpage for my Anthropology section's final project. Get to substitute spending hours in the library for hours coding and doing graphics, NP! Anyway, this link I'm giving you (http://chaco.malpurposed.net/astronomy.html) is pretty much a final draft of what the pages will look like. Problem is, I'm having a small browser compatibility issue. If you'll notice, loading the page in Firefox renders no errors except a gap between the content div and the footer div. Loading the page in IE, however, renders the same sort of gap between the header div and the content div. I originally only had this problem in IE with the header/content divs and remedied it by adding -4px to the margin-top property of the content div. Doing the same thing for the footer doesn't work, however, because a value which fixes the problem shoots the footer up into the content div.
Anyway, halp? What's the problem here? You can view the entire source on the webpage but I'll quote the relevant CSS here:
Thanks!Code:<style type="text/css"> <!-- body { background-image: url(pattern.jpg); padding: 0px; margin: 0px; } .mainholder { padding: 0px; padding-bottom: 0px; margin: 0px; height: auto; width: 800px; margin-left: auto; margin-right: auto; } .header { width:800px; height:244px; padding: 0px; margin: 0px; } .content { background-image: url(tablebg.jpg); background-repeat:repeat-y; width: 495px; margin-left: 148px; margin-right: 146px; padding-left: 6px; padding-right: 6px; color: #cc9966; font-family:Verdana, Arial, Helvetica, sans-serif; font-size: 10px; } .img1 { float:right; } .img2 { float:left; margin-right: 4px; margin-top: 4px; } .content object { margin-top: 4px; margin-left: 4px; float:right; } .content h2 { background-image: url(subdiv.jpg); background-repeat: no-repeat; font-size: 20px; color: white; padding-left: 22px; } .footer { width: 495px; margin-left: 148px; margin-right: 146px; padding-left:6px; padding-right: 6px; padding-top:6px; background-image: url(bottomborder.jpg); background-repeat: no-repeat; color: white; font-size: 11px; } .footer a { color:#cc9966; text-decoration: none; } .footer a:hover { color: white; } --> </style>
XI Wiki

