Re: Bolding Ordered List Item Numbers

by "rudy" <r937(at)interlog.com>

 Date:  Tue, 25 Jun 2002 23:17:00 -0400
 To:  <agosse(at)chw.org>,
<hwg-techniques(at)hwg.org>
  todo: View Thread, Original
> I would like to bold just the list item numbers in an ordered list,
> but not the actual list item text.

hi amy

<style>
 ol li  { font-weight : bold }
 ol li p { font-weight: normal }
</style>

<ol>
<li><p>foo</p></li>
<li><p>bar</p></li>
</ol>

most browsers will space the list items because of the P's, so
(anticipating your question) i guess you could either (1) live with that,
(2) use SPANs instead, or (3) style the top and bottom margins of the list
item Ps


rudy
http://rudy.ca/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA