This is the most stubborn browser I have ever had to work with. The only reason I am coding around it is because 40% of my website traffic is from IE users
Here is an image of my issue:
ImageShack® - Online Photo and Video Hosting
The light blue bar on the bottom just above the navigation bar only appears in IE.
In my header, I have an image for the logo, and another image sretched across the background on the x-axis.
Here is the code on how I achieved this:
<div id="header">
<div id="wrapper">
<img src="images/logo.jpg" border="0" />
</div>
</div>
Let me explain that fast, on why the wrapper is inside the header tag. I wanted to have the logo stretch the WHOLE page, but all content to be displayed in a 900px wide wrapper, in the center.
Here is the CSS for my header and wrapper:
#header {
background-image: url('../images/logo_bg.jpg');
width: auto;
margin: auto;
}
#navigation {
background-image: url('../images/nav_bg.jpg');
margin: auto;
line-height: 43px;
font-size: 14px;
overflow: hidden;
}
#wrapper {
width: 900px;
margin: auto;
}
Is there anything that is missing that would cause the header to add a few pixels?