XHTML/CSS query
Okay, this may be a dumb question, but is there a way in XHTML/CSS to create a nested ordered list like this:
etc.?
I have looked in all the usual places and they all seem to say "no, can't be done", but you guys are clever...
Update: I really do mean with the numbering as above (1, 1.1, 1.1.1 etc.) not just nested lists in general -- sorry for not being more clear. And it looks like the answer's "no" anyway. :-/
1. a list with some stuff in:
1.1 stuff here
1.2 more stuff
1.3 guess what, a nested list:
1.3.1 stoat
1.3.2 weasel
1.3.3 badger
1.4 no list here
2. another list, or whatever
etc.?
I have looked in all the usual places and they all seem to say "no, can't be done", but you guys are clever...
Update: I really do mean with the numbering as above (1, 1.1, 1.1.1 etc.) not just nested lists in general -- sorry for not being more clear. And it looks like the answer's "no" anyway. :-/
no subject
blocks, as above. You could knock up a Perl script to automatically generate the item numbering.
no subject
is easy, because it's just nesting the lists.
You can change the style of the list:
With the "type" attribute - i and I for roman, a and A for lettered.
I'm not sure if you can manage more than that with css - I've never needed to, so have never gone looking. I cna have a try for you, though, if you want?
no subject
no subject
no subject
no subject
no subject
no subject
If so, you can see from the source how I created it - it's all done with HTML and nesting the lists (which is a bit tricky, 'cos you've got to get the right number of closing tags so it all lines up).
no subject
no subject
no subject
no subject
Oh, yes...
no subject
http://www.w3.org/TR/REC-CSS2/generate.html#counters
no subject
no subject
Actually, I'm bored enough to install no-cost version of Opera and test the sample code from W3C.
<clickity-click>
Yep, that appears to do exactly what
no subject
Grrrr.
no subject
Just noticed that it was CSS2 (http://www.w3.org/TR/REC-CSS2/)'s 6th birthday yesterday. Happy belated birthday, CSS2. I hope somebody starts paying attention to you soon.
no subject
no subject
no subject
no subject
I've fixed this and the updated page is now live.
Yours,
Janet
(as webmaster@admin... no, wait, hang on, there's something wrong here.
no subject
no subject
no subject