View Single Post
  #1 (permalink)  
Old 04-25-2008, 02:04 AM
chetan1 chetan1 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default Anchor Text Style

Using CSS you can change the way the anchor of the link looks.

Four states of the anchor text can be styled.

link: Affects unvisited links
visited: Affects links that your browser knows that you've visited.
hover: affects the link that your mouse is hovering over
active: the active link that has been selected by tabbing over.

Code:
<style>
a:link {color: #FF0000; font-weight: bold;} /* unvisited link */
a:visited {color: #00FF00} /* visited link */
a:hover {color: #FF00FF} /* mouse over link */
a:active {color: #0000FF} /* selected link */
</style>
The above example makes the unvisited links bold.


Last edited by ryanhellyer : 04-25-2008 at 03:08 AM. Reason: Link removed: Please keep all non-post related links in your signature.
Reply With Quote