Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

list-style-type 1

Status
Not open for further replies.

MajorTechie

Programmer
Mar 20, 2002
30
0
0
CA
Hello,

I'm trying to create an embedded list.
I want it to look like this:

1. Blah
a. Blah

So... I would like to use CSS to designate lower-alpha for the second <ol>. I can't get it to work. Do I specify
<ol list-style> within the tag? Do I create a tag in my CSS file?

Any help would be appreciated.
 
I'm not sure, but I think I had trouble once using list-style-type in one of the browsers. The way I got to work was putting the css right in the <ol> tag.

<ol style=&quot;list-style-type:decimal;&quot;>
<li>thing 1
<ol style=&quot;list-style-type:alpha-lower;&quot;>
<li>part1
<li>part2
</ol>
<li>thing2
<ol style=&quot;list-style-type:alpha-lower;&quot;>
<li>part1
<li>part2
</ol>

this should work for you. let me know.
 
Thank you. Although I can't seem to make it work, it's not throwing errors like all of my attempts!
 
Oops, got it to work... simple switcheroo from alpha-lower to lower-alpha! Thanks!

<ol style=&quot;list-style-type: lower-alpha&quot;>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top