[thelist] CSS to bold *just* the number on an <li>

pandion pandion at gmx.net
Thu Oct 17 11:41:00 CDT 2002


At 17:40 2002.10.17, aardvark wrote:

>i have a list...
>
>i want the numbers to be bold, but not the text...
>
>i feel like an idiot because i can't figure out the CSS necessary to
>do it... although i thought i had done it before, i was wrong...

Here's what I do.

li     { font-weight: bold }
p     { font-weight: normal }


<ol>
<li>
<p>
Blah blah blah...</p></li>
</ol>


Cheers,
pandy




More information about the thelist mailing list