954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Auto margin problem on home page only in IE6

In IE6 the container on my home page doesn't center. On IE7, Safari and Foxfire, it's fine and on all other pages on IE6, it's also fine. Could there be something in the HTML of the home (index.html) page that is saying to ignore the margin-left, margin-right:auto in the Container CSS? I have compared the index HTML with the HTML of the correct pages and can't see anything that could cause this. This is the last problem I need to solve to get my site to look right in IE6. Any suggestions? www.napackdesign.com

bnapack
Newbie Poster
2 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

Bnapack,

Home page has an xml declaration at the top - the other pages don't.

Try getting rid of it.

Airshow

Airshow
WiFi Lounge Lizard
Moderator
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
 

Thanks, Airshow. Deleting the XML declaration took care of it.

bnapack
Newbie Poster
2 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You