I think i might be gone a little mad. Can you display my site in FF3 and in IE6 and look at the small red house over on the right hand side of the page. If i leave the little house as a jpeg or a gif the image is displayed fine in both browsers but when i use it as a png... something very strange happens: http://ncane.com/2fl thanks in advance to anyone who can help me with this one
you're not defining the height and width in the css, look for the following and add the height and width of the image (69px x 64px)... .maincolumn .rightcolumn .title .pagetitle-icon{ position:absolute; top:16px; right:21px; }
It could be a javascript issue...that's not my field but looking further I noticed something in your ie6 png fix .js that seems to scale the image. Maybe try another method of fixing png transparency for ie6 or find someone who knows about javascript to look at what you have now. also, looking at your markup I noticed a dot that probably shouldn't be there, right after the 7... <!--[if lt IE 7.]> <script defer type="text/javascript" src="js/pngfix.js"></script> <![endif]--> http://msdn.microsoft.com/en-us/library/ms537512.aspx More about using conditional comments is there on Microsoft's site.
The problem, as always, is IE. You aren't using a doctype and are throwing IE into quirks mode. You will never get IE to attempt to perform like other more modern browsers, like Firefox, without one. Put this on the first line of your page and see where we stand. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">