Forum Moderators: not2easy

Message Too Old, No Replies

2 x href styles.

         

adamnichols45

5:34 pm on Mar 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Im sure I have done this before but im having problems now.

I want 2 seperate href styles.

first href - red and rollover red

second href - grey and rollover grey

plopsybunny

6:20 pm on Mar 17, 2007 (gmt 0)

10+ Year Member



Create 2 different href classes in your CSS file...

for example :

A:grey

A:purple

when calling the href parameter include an ID:

<a id="grey" href="whatever.html">
<a id="purple" href="whatever.html">

Hope this is clear :)

adamnichols45

7:11 pm on Mar 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks - I managed to find out about 10 minutes after posting - U just beat me to it.

I could only find one good reference through yahoo though.