Starting from the top, the stray text in IE6 is caused by incorrectly commenting out some HTML:
Code:
<!--<div id="headerWrapper"><!-- Sets margins for entire header to zero-->-->
<!--<div id="headerbg"><!-- Sets drop shadow effect as bg image in header -->-->
Try
Code:
<!--<div id="headerWrapper">--><!-- Sets margins for entire header to zero-->
<!--<div id="headerbg">--><!-- Sets drop shadow effect as bg image in header -->
You have eliminated the #headerWrapper that surrounds all of the header elements, which may not be helping in IE.
Various suggestions for your CSS are commented in the code below:
Code:
ul#mainmenu {
float: right;
padding: 0px;
list-style-type: none;
background-image: url('../images/mainmenubg.png');
height: 40px;
/*width: 250px;*/ /*floated elements width auto collapses to just fit the content, so doesn't need to be specified*/
margin: auto;
}
#mainmenu li {
float: left
}
ul#mainmenu a {
background-image: url('../images/mainmenudiv.png');
background-repeat: no-repeat;
background-position: right;
padding-right: 7px;
padding-left: 7px;
display: block;
line-height: 32px;
text-decoration: none;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
color: #371C1C;
}
ul#mainmenu a:hover {
color: #FF0000;
}
#headerbg {
background-image: url('../images/headerbg.jpg');
background-repeat: repeat-y;
}
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}/*float and position: relative; are not both needed. ie may be confused by the combination*/
/*again, floated elements width auto collapses to just fit the content, so doesn't need to be specified.
positioned divs default to be 100% width*/
#logo {
/*position: relative;
left: 40px;
top: 0px;
z-index: 10;*/
margin: 0 40px;/*eliminate positioning and add margin to keep left spacing*/
}
#SiteLabel {
color: #3333cc;
font-weight: bold;
font-size: 3em;
height: 30px;
padding: 0.5em 0.2em;/*with fixed width eliminated, some left/right padding sets the desired spacing*/
/*width: 100px;*//*again, floated elements width auto collapses to just fit the content, so doesn't need to be specified*/
float: right;
}