You shouldn't set a height for the header. And you should get rid of the line break in the source code here:
Code:
<div id="header">
<img src="images/header.jpg" width="859" height="103" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="140,16,741,62" href="#" /></map></div>
Changing it to:
Code:
<div id="header">
<img src="images/header.jpg" width="859" height="103" border="0" usemap="#Map" /><map name="Map" id="Map"><area shape="rect" coords="140,16,741,62" href="#" /></map></div>
Set this style:
Code:
#topContainer {
font-size: 1px;
}
Those together will kill the gaps in IE 6, and improve things also in FF, GC, and Opera.
Your:
Code:
<!--[if lt IE 7]>
<script type="text/javascript" src="unitpngfix.js"></script>
<![endif]-->
is what's screwing up the menu images in IE 6. Find a way for it not to apply to the menu's images, they look fine without it, perhaps switch to gif for those. Or you could use this script instead of your current unitpngfix.js script:
Code:
var clear="images/clear.gif" //path to clear.gif
pngfix=function(){var els=document.getElementsByTagName('*');
var ip=/\.png/i;
var elb2, goodtogo = true;
var i=els.length;
while(i-- >0){var el=els[i];
var es=el.style;
if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;
es.width=el.width;
es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";
el.src=clear;
}else{var elb=el.currentStyle.backgroundImage;
if(elb.match(ip)){
elb2 = el;
while (elb2.parentNode){
elb2 = elb2.parentNode;
if (elb2.id == 'menu')
goodtogo = false;
}
if (goodtogo){
var path=elb.split('"');
var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';
es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";
es.height=el.clientHeight+'px';
es.backgroundImage='none';
var elkids=el.getElementsByTagName('*');
if (elkids){var j=elkids.length;
if(el.currentStyle.position!="absolute")es.position='static';
while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";
}}goodtogo = true}}}}
window.attachEvent('onload',pngfix);
But gif would probably be best, you would not lose much, ex:

and using conditional style, as you already do with your ie6.css stylesheet, you could set these gif images as the background images for the menu in IE 6 only.
Bookmarks