Georg, Does that hold true for php code above the Doctype as well?
John Sutton on 11/25/08 7:22 AM, Gunlaug Sørtun at [EMAIL PROTECTED] wrote: > RePost wrote: >> Only in IE, my maincontainer (wrapper) div appears to be shifting and >> ignoring the tried-and-true "margin: 0 auto;" style. > >> http://dwarfurl.com/9a685 > > IE/win - all versions from IE6 up - will revert to quirks mode when > there's an HTML comment above the doctype declaration. When in that mode > IE ignore margin-auto centering and all CSS that's unsupported by > versions higher than IE5.5. > > Get rid of that comment. > > regards > Georg ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/