Information générale
Titre:
CSS - customizing the anchor tag
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?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement