After digging around a bit, i'm thinking that theoretically it should be possible to implement the start and value attributes of ol and li respectively using CSS3.
Particularly of note is this piece on attr (not sure as to whether the spec for attr() has changed since this was written):
http://www.w3.org/TR/2005/WD-css3-values-20050726/#attribute
I tried this in Prince, and it generates no CSS parsing errors, but also doesn't work. I know the selectors are fine, as if I throw in some borders they pop up all over the place in my document.
I've allready searched the forum, and it doesn't look as though anyone has suggested this yet. Any ideas or comments?
Particularly of note is this piece on attr (not sure as to whether the spec for attr() has changed since this was written):
http://www.w3.org/TR/2005/WD-css3-values-20050726/#attribute
ol[start]
{
counter-reset: list-item attr(start, integer, 0);
}
ol>li[value]
{
counter-reset: list-item attr(value, integer, 0);
}
I tried this in Prince, and it generates no CSS parsing errors, but also doesn't work. I know the selectors are fine, as if I throw in some borders they pop up all over the place in my document.
I've allready searched the forum, and it doesn't look as though anyone has suggested this yet. Any ideas or comments?
Edited by Webbie