W3C home > Mailing lists > Public > www-html@w3.org > May 1998

HTML 4.0 stylesheet (was crashes always: HTML 4.0)

From: Susan Lesch <lesch@macvirus.com>
Date: Thu, 14 May 1998 22:03:17 -0400 (EDT)
Message-Id: <l03110700b180e91bcead@[]>
To: www-html@w3.org
Re: Netscape Mac crashes on

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:47 UTC