views:

28

answers:

1

Can anyone tell me why the logo on this page is not centering in IE?

http://www.cateringvisions.com

Thanks!

A: 

HTML 4 Transitional invokes quirksmode. use <!DOCTYPE HTML> in place and it should work.

EDIT:

http://www.cateringvisions.com/topframe.html

^ This page needs a standard dtd. BTW, you should not be using framesets in 2010.

http://hsivonen.iki.fi/doctype/

^ Page listing dtds and modes.

meder
I thought having any valid doctype line triggered standards mode (if it's a full declaration, including the DTD URL, and is the very first thing in the document).
cHao
@cHao: I thought so too, but a quick look at the Developer Tools told me it was really in Quirks Mode... maybe Google knows what's going on? :)
MvanGeest
Maybe it has something to do with the site using frames, but not using the frameset DTD. Will an invalid tag cause the parser to fall back to quirks mode?
cHao
<!DOCTYPE HTML> didn't work.
Scott