Quote:
Originally Posted by drhowarddrfine
You are using the xml declaration on the first line. This:
<?xml version="1.0" encoding="iso-8859-1"?>
Only modern browsers work correctly with it, IE6 goes into quirks mode. Remove that line. Then validate and fix your 35 html errors and then your css errors.
Thank you for the reply. I've fixed those errors and the page now validates to XHTML Transitional.
The page views fine with IE7, (and to a slightly lesser degree Firefox 2), but the main problem I have is with IE6.
If you look at http://www.onlinesimon.co.uk/home.asp on IE6 or earlier (I've tried it also on IE5.5) then the large fading image at the top of the page is offset by about 300px to the right of its intended position.
- <div id="mContainer" style="position:relative;left:0px;top:0px;z-index:1;"></div>
The above DIV is fine in IE7 and Firefox 2, but on IE6 is offset 300px to the right?
Any ideas?
Regards,
Simon