...

View Full Version : IE8 body alignment and other issues



sixrfan
07-14-2011, 10:18 PM
ISSUE 1
on this site (http://aaadraincleaning.com/aaa/) how come the site is aligned to the left, and not the middle, even though the #centercolumn has


margin:0 auto;
width:960px;


should that center it? what gives?

ISSUE 2
in the top nav bar, how come the subheadings dont line up right below the main page headings like they do in Chrome and Firefox?


ISSUE 3
how come the "AAA Guarantee" box in the middle slide area doesnt like up at the top of the slide like it does in Chrome and Firefox?



FYI, this is a Wordpress theme I installed so I'm trying to clean up these issues that came with it...

Please advise. thanks in advance!

SB65
07-14-2011, 10:40 PM
Because there's some code before the doctype which is causing IE to render in Quirks mode:


<!-- CHILD INDEX FILE -->


Remove that comment and it should be fine.

sixrfan
07-14-2011, 11:02 PM
good call. thank you! though i'm surprised that this code would cause an issue. isn't it correctly formatted to be just a comment?

SB65
07-14-2011, 11:08 PM
Yes, but the doctype should always be the first thing on the page.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum