XML Recommendation: Accompanying CSS "errors"

The specification of a 4em left margin and a 2em right margin on the
BODY element via the attached style sheet causes unusual behavior for
the XML spec's tables under certain versions of Netscape, including
4.06.  As nearly as I can trace the issue, Netscape interprets the 100%
table width to be a raw value, not subtracting the left and right margin
values.  As a result, when the XML spec is viewed under Netscape 4.06
with CSS enabled, a horizontal scroll bar results due to the extra 6em
taken up by the table.

The best solution I can suggest is to define the tables in terms of
offsets and/or sub-100% widths; for instance, center the tables and
specify them to be about 90% wide instead of the full 100%.  Another
solution would be to define the margins in terms of percentages instead
of em units, then make sure the table width plus the width of all
margins and padding is 100% or less.

Yes, Netscape's browser is at fault here - but a small degree of
tweaking on your end might alleviate the rendering problem in between
bug-fixes.
 
-- 

 Rev. Robert L. Hood  | http://rev-bob.gotc.com/
  Get Off The Cross!  | http://www.gotc.com/

Received on Tuesday, 29 September 1998 14:01:41 UTC