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

Greater control over rendering of <ol>

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


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

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