Tuesday 15 June 2010

CSS Selected State -


What CSS code should I put in my style.css so that when the menu font becomes black and bold, in the selected position.

  & lt; Li class = "selected" & gt; & Lt; A href = "/ health-coaching.html" & gt; Health coaching & lt; / A & gt; & Lt; / Li & gt;   

Help! Thanks

You can use it:

 . Selected: active {art color; font-weight: bold; }   

To complete a single setting while roaming, use it:

 . Selected: hover {color: black; font-weight: bold; }    

No comments:

Post a Comment