Previous Message
Next Message

Lists in IE and Firefox

Sent by Terrence Wood on 14 September 2004 06:06


Try:

li li
{ font-weight: normal }

or, if you just want the anchor in normal weight, try this:

li a
{ font-weight: normal }

In fact, you can remove the strong class from your top level <li>  by 
doing this:

li { font: bold 0.8em sans-serif } /* or serif if you prefer */

li li { font: normal 1em sans-serif }

That will give you less markup to look after. If you need to target 
these lists specifically, then you can add a class name to the enclosing 
  <ul>.


../tdw

On 14/9/04 4:14 PM, Lee Underwood wrote:
> li.strong {
>     font-weight: bold;
> }
> 
> If I use it like this:
> 
>   <li class="strong">The Pastor</li>
>     <ul>
>       <li><a href="http://www.ptmin.org/thepastor.htm">The Pastor: Where 
> Did He Come From?</a>
>       <br />[Frank Viola]</li>
>     </ul>
> 
> The "[Frank Viola]" will be bold also. Any ideas? It only does it in IE, 
> not Firefox.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: