W3C home > Mailing lists > Public > www-validator@w3.org > October 2005

[VE][108] Error Message Feedback: suggest style="list-type: upper-alpha" in place of type="A"

From: Dan Connolly <connolly@w3.org>
Date: Tue, 25 Oct 2005 11:21:45 -0500
To: www-validator@w3.org
Message-Id: <1130257305.27261.358.camel@dirk>

Error [108]: "there is no attribute X"

in particular, "there is no attribute type" on ol.

The message includes:

"How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both
allowed in the chosen document type, and/or use CSS instead of this attribute."

But it could usefully be much more specific, suggesting I change
  <ol type="A">
to
  <ol style="list-type: upper-alpha">

and cite the relevant spec or some tutorial(s).

I searched google for "css list style" and it nominated a W3C schools page
http://www.w3schools.com/css/pr_list-style-type.asp

It seems to be pretty hard to find the relevant spec, which I think is:
http://www.w3.org/TR/REC-CSS2/generate.html#lists




-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 25 October 2005 16:21:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT