CSS ? again

Out of context: Reply #6

  • Started
  • Last post
  • 24 Responses
  • DigitalMe0

    You need to look into Psuedo Class references from your anchor tags.

    Here's what the class definition will look like

    .default {font-family: Verdana;}

    ...then your psuedo class def will follow like this...

    a.default:link
    {font-family: Verdana;}

    a.default:visited
    {font-family: Verdana;}

    a.default:hover
    {font-family: Verdana;}

    a.default:active
    {font-family: Verdana;}

    ...................
    I usually condense the link and visited to the same def. and then the hover and active to the same def. like this...

    a.default:hover, a.default:active {font-family: Verdana;}

    In the HTML, the class is referenced from a TD, SPAN or DIV, as usual, then your psuedo class reference is made from you A tag like this

    <TD class="default"> <A HREF="blah" CLASS="default">

    hope this helps

View thread