Multiple Anchor Colors

  • BinaryMan
  • Novice
  • Novice
  • User avatar
  • Posts: 15
  • Loc: CA, USA

Post 3+ Months Ago

I would like to use <font color=whatever> to create different colored links on a page, rather than have one color for all links. Is there a way to override the defaults for a page (I know a style sheet will change the default color, but for ALL links)? It seems the <font> tag has no effect on anchor text color. Perhaps a style sheet with alink;color=none or something similar?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Code: [ Select ]
<style>
.one {color:#123456;}
.two {color:#654321;}
</style>

</head>
<body>
<a href="#" class="one">Class One</a>
<a href="#" class="two">Class Two</a>
  1. <style>
  2. .one {color:#123456;}
  3. .two {color:#654321;}
  4. </style>
  5. </head>
  6. <body>
  7. <a href="#" class="one">Class One</a>
  8. <a href="#" class="two">Class Two</a>


"CSS class" is what to searh for on this one :wink:

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 59 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.