468,316 Members | 2,092 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Greater control over rendering of <ol>

Hi all, I'm wondering if there is an easy way to create ordered lists
of different types - for example I can get the following:
1. one
2. two

from:
<ol>
<li> one
<li> two
</ol>

But I would also like to get:

a. one
b. two

and I would also like:
i. one
ii. two
iii. three
iv. something else
v. again

Is there an asp control (I'm using aspx files from visual studio .net
2003) or even just a basic html control that will do this for me?

Thanks,
Novice
Jul 20 '05 #1
2 1589
Novice wrote:
Hi all, I'm wondering if there is an easy way to create ordered lists
of different types


http://www.w3.org/TR/CSS2/generate.html#lists

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #2
6t**@qlink.queensu.ca (Novice) wrote:
I'm wondering if there is an easy way to create ordered lists
of different types


In HTML, you can use the type attribute in an <ol> element, e.g.
<ol type="a"> or <ol type="i">. You get the same functionality, and a
little more, though with the usual CSS caveats, using the list-style-type
property in CSS.

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

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Timo Nentwig | last post: by
2 posts views Thread by Lindsey | last post: by
8 posts views Thread by Michael | 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 Verona Busch | last post: by
2 posts views Thread by Shahid | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.