Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSS - customizing the anchor tag
Message
De
04/05/2001 10:17:07
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
03/05/2001 17:08:59
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00503235
Message ID:
00503480
Vues:
22
>
>Try by adding a class in your stylesheet or by having it cascaded such as:
>
>
>.CustomAnchor
>{
>   text-decoration: none;
>   visited: orange;
>   active: blue;
>   hover: black;
>}
>
>
>Then, reference it like:
>
>
>< A CLASS=CustomAnchor HREF="mypage.htm">Dog </A>
>
Thanks for the response. This is exactly what I am trying to do. I tried adding the above to my .CSS file and modified the hyperlink in my .HTM file. But these 2 lines are the only ones that effect the hyperlink:

text-decoration: none;
FONT-SIZE: 8pt

I can't get these to effect the hyperlink.
active: blue;
visited: orange;
hover: black;

I can't seem to get the sytax right.

In my other .CSS file, I break these properties out and they effect all hyperlinks as expected, but I would like to specify particular links in some web pages.
A:link
{
    COLOR: white;
    FONT-FAMILY: Verdana, Arial;
    FONT-SIZE: 7pt
}
A:visited
{
    COLOR: white;
    FONT-FAMILY: Verdana, Arial;
    FONT-SIZE: 7pt
}
A:active
{
    COLOR: red;
    FONT-FAMILY: Verdana, Arial;
    FONT-SIZE: 7pt
}
A:hover
{
    COLOR: yellow;
    FONT-FAMILY: Verdana, Arial;
    FONT-SIZE: 7pt
}
Any ideas?

Thanks,

Jerryt
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform