RE: FN-FORUM: colour: link
date posted 27th June 2005 21:21
[EMAIL REMOVED] wrote:
> Hi all,
>
> I want to change the colour of text inside the
> tag. I'm not bothered about hover, mouse-out, or OnClick. I
> know I can achieve this normally with something like:
> #baseline.base a:link,a:visited,a:hover{} but this would
> effect all similar links, I've four links and want them to be
> different colours, for decorative purposes. I've tried id ="link_name" font-family"" , color""> href="">link. This effects all other components
> within the tag but not colour. anyone have any ideas, can
> this be done, to work in IE, Netscape and FF?
>
> DG
Just use a class for them and then apply styles e.g.
#a.myclass:link,a.myclass:visited,a.myclass:hover,a.myclass:active {}
Then apply that class to just the links you want that colour.
HTH,
Dai
--
TechnologyAngel
http://www.technologyangel.co.uk/