...

View Full Version : Whole not centering in IE



yodanation
12-14-2010, 05:36 PM
Here's the page:
http://modmetal.com/andrew/index.html

And the CSS file:
http://modmetal.com/andrew/css/main.css

I'm making a test layout for a photographer, hence the placeholder images and text. In IE, the whole page is aligned to the right and the JavaScript accordion sections don't work very well (The blue bars and the e-mail button). In Chrome 8, Firefox 3.6.13, and Safari 5.0.3 it works perfectly and is center aligned.

The really frustrating part about all of this is that it used to work in IE just fine until I added something along the way. I've removed each section individually and retested but it hasn't fixed it. Anyone have any advice?

Thanks in advance.

abduraooft
12-14-2010, 05:39 PM
<!-- Site by Thomas Cushard with various javascript stuff by Ryan Stemkoski:ryan@gozipline.com and Michael J. I. Jackson -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Anything above DOCTYPE may turn IE to quirks mode. Remove that and check again.

yodanation
12-14-2010, 06:15 PM
I can't believe that was it. Thank you for your prompt and correct solution.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum