HTML 4.0 stylesheet (was crashes always: HTML 4.0)

Re: Netscape Mac crashes on
http://www.w3.org/TR/REC-html40/intro/sgmltut.html

Netscape 4.0x Mac has crashed before on some combinations of 'border' and
'margin' CSS declarations for complex content inside a DIV. So far I am
unable to pinpoint this bug, only illustrate it. Commenting out the style
rule in the HTML 4.0 style sheet "default.css":

  /* DIV.subtoc {padding: 1em; border: solid thin; margin: 1em 0;
                 background: #ddd} */

or removing either the 'border' or the 'margin' declaration, or turning off
style sheets stops the crash. Replacing that rule with something like this
might do.

  DIV.subtoc {border:1px solid black; color:#000; background:#ddd}

Sorry the result is not as attractive as the original. Here is a screen
shot[1] (50% reductions, slightly retouched to fit) from all MSIEs and
Netscapes for you to see what you think.

Illustrated here also, the design format for Contents lists in the HTML 4.0
specification look noticeably different in MSIE 4.0.1, released yesterday,
than in prior MSIE 4.0x for Mac. I didn't try to restore your design for
this one workaround.

[1] http://www.macvirus.com/test/ss/w3c/html4.0-stylesheet.gif

Susan Lesch

Received on Thursday, 14 May 1998 22:00:47 UTC