Welcome to WebmasterWorld Guest from 54.147.212.98

Forum Moderators: incrediBILL

Message Too Old, No Replies

Colour links in Firefox

Colour links in Firefox Not Working

   
9:35 am on Oct 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I can't get vlinks or any colour changes in text links to work. Is there a specific html code to suit Firefox?
1:34 pm on Oct 13, 2006 (gmt 0)

5+ Year Member



I hit this problem before and it turned out that I was putting the css for the links in the wrong order in the style sheet.

Here's the order that works in one of my style sheets:
a {color:#658caf;}
a:visited {color:#8965af;}
a:hover {color:#d55b99;}
a:active {color:#d55b99;}

I was told to try to remember the order as "LoVe HAte",
Link, Visited, Hover, Active.

If I combined link and hover the styles stopped working in Firefox and (I think) Safari.

I also hit it once when I had quite a few link styles in one page, I had to use!important to get the ones deeper down to work in Firefox... not sure where I went wrong on that one but!important fixed it.

7:00 pm on Oct 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for that .. could you let me have the actual code so that I can coipy & paste?

Many thanks