W3C home > Mailing lists > Public > www-style@w3.org > January 1998

HTML/CSS inconsistency

From: Tim Bagot <timothy.bagot@keble.oxford.ac.uk>
Date: Sat, 24 Jan 1998 14:45:36 +0000 (GMT)
To: Style Sheet mailing list <www-style@w3.org>
Message-ID: <Pine.OSF.3.96.980124143137.5373A-100000@sable.ox.ac.uk>

Sorry to bring this up again, but I think it is quite important.

From the description of the "start" attribute (now deprecated (why? -
likewise "value")) of the OL tag in the HTML 4.0 recommendation
(http://www.w3.org/TR/REC-html40/struct/lists.html#h-10.2):-

> The default starting number is "1".

From the description of the CSS2 list-style-type property
(http://www.w3.org/TR/WD-CSS2/lists.html#propdef-list-style-type):-

> decimal 
>      Decimal numbers, beginning with 0.

There is clearly a problem here. As far as I can see there are two
sensible solutions:-

a) Alter the CSS definition so that decimal lists start at 1.

or,

b) Introduce a new property (perhaps list-start) which would take the
place of the HTML attribute, allowing the starting number to be specified
by the author. It should, of course, default to the value 1.

Tim Bagot
Received on Saturday, 24 January 1998 09:46:15 GMT

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