![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? |
#3
| |||
| |||
|
|
mlf <vze1 (AT) verzon (DOT) net> wrote: Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? Not in CSS as currently defined and implemented. The best approach is to include the numbers into the list items themselves and use <ul markup together with list-style-type: none. |
#4
| |||
| |||
|
|
Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? |
#5
| ||||
| ||||
|
|
Jukka K. Korpela wrote: mlf <vze1 (AT) verzon (DOT) net> wrote: Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? |
|
Not in CSS as currently defined and implemented. |
|
The best approach is to include the numbers into the list items themselves and use <ul markup together with list-style-type: none. |
|
... and hope that the list item text does not wrap. Or play with margin-, padding-left and negative text-indent. |
#6
| |||
| |||
|
|
On Mon, 07 Mar 2005 22:16:45 GMT mlf wrote: Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? For a csss version see www.suckerfish.org |
|
javascript version see www.4thorder.us |
|
For a working demo see www.somestuff.batcave.net |
#7
| |||
| |||
|
|
The best approach is to include the numbers into the list items themselves and use ul> markup together with list-style-type: none. I would use ol, if order of list items is important, but numbering style is not. But usually ul is good. |
#8
| |||||
| |||||
|
|
On Mon, 07 Mar 2005 20:10:34 -0500 Beauregard T. Shagnasty wrote: |
|
javascript version see www.4thorder.us Don't see any 1.1, 1.2 .. lists on that page, and there is some amount of text *outside* the left margin of my browser. Poor layout. Sheesh. You just have to nitpick don't you? |
|
1.0 would be equal to ul li. 1.1 would be equal to ul li li. |
|
For a working demo see www.somestuff.batcave.net One of the worst pages I've seen in years. Then you ain't seen many have you? |
|
You forgot to mention www.rts.batcave.net Speaking of shitty pages. |
#9
| |||
| |||
|
|
On Mon, 07 Mar 2005 20:10:34 -0500 Beauregard T. Shagnasty wrote: Richard wrote: On Mon, 07 Mar 2005 22:16:45 GMT mlf wrote: Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? For a csss version see www.suckerfish.org Site not found. http://dnsstuff.com/tools/whois.ch?ip=suckerfish.org javascript version see www.4thorder.us Don't see any 1.1, 1.2 .. lists on that page, and there is some amount of text *outside* the left margin of my browser. Poor layout. Sheesh. You just have to nitpick don't you? 1.0 would be equal to ul li. |
|
1.1 would be equal to ul li li. |
|
For a working demo see www.somestuff.batcave.net One of the worst pages I've seen in years. Then you ain't seen many have you? |
#10
| |||
| |||
|
|
On Mon, 7 Mar 2005 16:58:37 -0600 Richard wrote: On Mon, 07 Mar 2005 22:16:45 GMT mlf wrote: Is there a clever way, or any way for that matter, to have a nested list show 1.1, 1.2, 1.3...2.1, 2.2, etc? For a csss version see www.suckerfish.org javascript version see www.4thorder.us For a working demo see www.somestuff.batcave.net Dang it. I keep forgetting the proper url. http://www.htmldog.com/articles/suckerfish/dropdowns/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |