468,458 Members | 1,820 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,458 developers. It's quick & easy.

<ol> Lists in HTML

Hi

I just wanted to know if you are using <ol> tags in HTML can you
specify which number to start at. E.g

Instead of

1. blad bla
2. bla bla

I want it to start of at.

5. bla bla
6. bala.

I have 2 columns,the first <td> I want one to go from 1 - 4 and
another <td> next to it to take points 5 - 8.

If the above is not possible, can anyone suggest a way to make it look
similar, ie the overflowing lines are tabbed in and don't flow under
the bullet.???

Thanks

LC
Jul 20 '05 #1
2 1507
li*************@dragonphly.com (Lindsey) wrote:
I just wanted to know if you are using <ol> tags in HTML can you
specify which number to start at.
Yes, e.g. <ol start="5">. Beware that there are problems in rendering
if you use numbers with more than two digits (you should set
margin-left for the ol element in CSS then).

There is no CSS counterpart for the start="..." attribute (except in
theory via marker properties, counters and generated content)
I have 2 columns,the first <td> I want one to go from 1 - 4 and
another <td> next to it to take points 5 - 8.
Oh... that's a different issue. I don't think it's a good idea, since
people naturally read rowwise on the Web.
If the above is not possible, can anyone suggest a way to make it
look similar, ie the overflowing lines are tabbed in and don't flow
under the bullet.???


I don't think so. Netscape's <multicol> might have done that, but it
only worked in Netscape 4 - though it surely wasn't among the worst
ideas they invented.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message news:<Xn*****************************@193.229.0.31 >...
li*************@dragonphly.com (Lindsey) wrote:
I just wanted to know if you are using <ol> tags in HTML can you
specify which number to start at.


Yes, e.g. <ol start="5">. Beware that there are problems in rendering
if you use numbers with more than two digits (you should set
margin-left for the ol element in CSS then).

Cheers works a treat!
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Gregor Horvath | last post: by
4 posts views Thread by Timo Nentwig | last post: by
8 posts views Thread by Michael | last post: by
2 posts views Thread by Novice | last post: by
1 post views Thread by Dan Jacobson | last post: by
4 posts views Thread by maya | last post: by
2 posts views Thread by Shahid | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.