By default, most browsers display the ordered list numbers same font style as the body text. Here is a quick CSS tutorial on how you can use the ordered list (ol) and paragraph (p) element to design a stylish numbered list.
Overview
Basically, what we need to do is style the ol element to Georgia font, and then reset the p element (nested in ol) to Arial.

1. HTML source code
Make an ordered list. Don't forget to wrap your text with a <p> tag.
<ol>
<li>
<p>This is line one</p>
</li>
<li>
<p>Here is line two</p>
</li>
<li>
<p>And last line</p>
</li>
</ol>
Here is how the default ordered list will display:

2. ol element
Style the ol element:
ol {
font: italic 1em Georgia, Times, serif;
color: #999999;
}
The list will become like this:

3. ol p element
Now style the ol p element:
ol p {
font: normal .8em Arial, Helvetica, sans-serif;
color: #000000;
}
Your final list should look like this:

View my demo file to see more samples.
I’ve come across a better way (although not well supported)…but it does require less markup.
li:first-child { color: green; }
li { color: blue; }
this is *supposed* to color just the numbers green.
This is a tip? I fail to see what is so profound about this tip. Its just simple CSS that anybody can do. So you can italicize the numbers and change the font to something else for the text. What was so worthy about writing this as an article?
@Anonymous: I actually found this tip quite useful. I wouldn’t have known how to do this otherwise, and I’ve been wantingto learn how to give list numbers and text different styles ever since I saw the cool effects on Jon Hick’s website.
I like this website by the way, it’s very useful, although I’m not a big fan of the layout. Especially the font! *kills arial*.
Why not use ‘span’ to style the list items differently? This would be a bit more semantically correct, would it not?
This is great, but I’d love a tutorial on fun ways to style ul lists, like horizontal navigation. I’ve been looking online for days for different ways…!
Very simple and useful tip. I always wanted to style my numbers but never knew how. This is a great approach!
Hi thanks a lot for this small and fine tutorial!!
HI Buddy! Thanks a lot for your useful tips. It’s very easy and simple to understand. Good job, thanks again.
I tried to add this on my wordpress blog but wordpress removes the tag.
So I tried to apply the “normal” style onto the element but that doesn’t work.
Any ideas??
Good turorial. Thank you
very useful and simple tip!
very useful tips thanks
This is quite good thought :)
Thanks. very useful information, all the time i was look for it ;)
good idea, thx
hi alert(“hey look, injection attack in your face”);
Thanks for the tip, I already used in one of my websites (its useful to use some Javascript to add the extra markup, I used ‘span’ instead of ‘p’)
When I click the “View my demo” link, a popup appears with ol p styling examples. Is the popup java? If not, how was it programed? Can this technique be done with CS3 behaviors?
Very useful tutorial thanks.
Great tutorials on this site!
CSS 2.0 is very powerful to customize your html elements.