Scripsit Mike Barnard:
> I know what is wrong, I need to finish a list, do the heading then
> start a new list. So I need the new list to start an a number other
> than 1, where the previous list finished. The "start" property of the
> <ol> has been deprecieated but no matching CSS has been created.
Right, so use the "start" attribute.
> Use the deprecieated 'start' property? No validation but *may* work in
> more browsers?
What do you mean by "No validation"? Validity is a formal thing, and a
document validates if you use document type definition (DTD) that
matches the actual markup. In this case, you can simply use HTML 4.01
Transitional. Even if this were not the case, "No validation" would not
be true; if you actually used an attribute not present in HTML
specifications, then you could say "Nonconforming markup" or even
(stretching the word "standard") "Nonstandard markup". But it would
still be valid if and only if you use a DTD that allows the markup.
Technically, the "start" attribute is presentational, so if it is
_essential_ that the items be numbered in a particular way, you should
put the numbers into actual content, e.g.
<li>1. Text of the item</li>
probably inside a <ul> element (since you dont want the
browser-generated numbers that <ol> produces at least when CSS is off)
with list-style-type: none.
But in practice, I think it is fairly safe the treat "start" as
semantic, i.e. to rely on the number being generated as specified by
this attribute.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/