Griffin Interactive

Internet Explorer Margin Fix

July 11, 2003
Standards

In Internet Explorer 5.x and backwards-compatible-mode Internet Explorer 6 on Windows platforms, the automatic horizontal margins are not implemented correctly. Setting the various forms of automatic left and right margins has no effect on the desired element. This script will fix the bug in Internet Explorer without any modification to your HTML or CSS, making your pages display correctly. For more details, check out www.stilleye.com

Internet Explorer: Backwards-Compatible-Mode

When you switch on standards-compliant mode, the HTML element also becomes the positioning container for positioned elements that don't have a positioned parent. When standards-compliant mode is switched off, as with earlier versions of Internet Explorer, an absolutely positioned element is positioned relative to the BODY when there is no positioned parent. When standards-compliant mode is switched off, as with earlier versions of Internet Explorer, the BODY element represents the canvas.