W3C home > Mailing lists > Public > www-style@w3.org > February 2003

Default HTML 4.0 stylesheet in CSS2/CSS2.1

From: REFSTRUP,JACOB (HP-Vancouver,ex1) <jacob_refstrup@hp.com>
Date: Thu, 27 Feb 2003 13:58:11 -0500
Message-ID: <A134E2426B46D711BB4B000347AE6E7C5911EA@xvan02.vcd.hp.com>
To: www-style@w3.org

The sample default stylesheet for HTML 4.0 in CSS2 (and CSS2.1) contain an
equivalent to the following:

ol { list-style-type: decimal }

As 'list-style-type' is inherited (as it should be) ul elements within ol
elements ends up with the "wrong" style.

I suggest adding

ul { list-style-type: disc }

to the sample default stylesheet for HTML4.0. Alternately we could add

ol > li > ul { list-style-type: disc }

Regards,
- Jacob
Received on Thursday, 27 February 2003 13:58:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:20 GMT