cross-browser testing

This layout rely on 'width' in percentage and ordinary 'max-width' defined in em and 'min-width' defined in px for the good browsers. Nothing unusual here.

Internet Explorer 6 get a reworked, mode-independent, IE-expression for simulation of 'max-width' relative to User's font-size. This seems to be a slightly unusual approach, although the basics can be found at max-width in Internet Explorer.The rest about the IE-expression used can be studied as min/max expression forStrict/Quirks modes.

This layout will work fine in Internet Explorer, provided there's no font-size declared on html or body, and font-size further in is defined in %, or not at all.

basics for wrapper:

  • width: 96%;
  • max-width: 60em;
  • min-width: 554px;

created:

  • date: 29. May. 2006
  • by: Georg Sørtun
  • last update: 25. Jun. 2006

tp0

px/em-based 'min/max-width' simulation in IE/win.

Testing complex dual-mode version.