Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CSS - customizing the anchor tag
Message
De
03/05/2001 17:08:59
 
 
À
03/05/2001 16:37:46
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00503235
Message ID:
00503247
Vues:
19
>I am trying to customize certain anchor tags on a web page to look a certain way. But, I also want the other anchor tags to use the default look and feel.
>
>I know I can create a .CSS and link that to my web page, but then all the hyperlinks will look the same. I only want specfic tags to inherit these properties.
>
>I tried the following, but the tag doesn't take the desired properties. However the text-decoration property does work.
>
>< A style="text-decoration: none; visited: orange; active: blue; hover: black" HREF="mypage.htm">Dog
>
>What would the syntax be?

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>
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform