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 IE-expression used can be studied at min/max – making IE/win work.

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: 10. Aug. 2006

tp1

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

Testing minimal dual-mode version.