By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,119 Members | 2,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,119 IT Pros & Developers. It's quick & easy.

<ol> Lists in HTML

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
"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.