Jump to content

Different effect

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Guest_Jaan_*

Guest_Jaan_*
  • Guests
Well I have this code

a{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color:#999999;
text-decoration:none;
}

and umm.. but i want different color for menu links.. please tell me how to do it lol i don't remember anymore

#2
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
use a class.

#3
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Alternatively, if you're using something like a <ul> for the menu, just use a set of IDs, with the # symbol. CSS always uses the last rule it remembers, so even if all the links are set to a certain appearance as your code does above, the specific class or ID will single it out and change its appearance without affecting the rest of the document.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums