No replies
Last seen: 18 years 9 weeks ago
Joined: 2004-09-29
Posts: 1
Points: 0

Hi all, i'm quite new into writing css myself, so don't be to hard for me please Laughing out loud

I'm trying to build 2 different a:link's,
The problem is that safari doesn't show the a.nav:link colour. Instead it takes over the colour of a:link.
Visited, hover and active are shown correct.
IE doesnt have a problem with the a.nav:link colour.
I can solve the problem by naming a:link into a.else:link,
but this way I have to specify every other <a href> into <a class="else" href>

my code looks like this:

/*style for navigation*/
a.nav:link { color: ##FFCC00; text-decoration: none }
a.nav:visited { color: #FFCC00; text-decoration: none }
a.nav:hover { color: #AE0618; text-decoration: underline }
a.nav:active { color: #AE0618; text-decoration: none }

/* Styles for everything else*/
a:link { color: #333333; text-decoration: underline }
a:visited { color: #333333; text-decoration: underline }
a:hover { color: #333333; text-decoration: none }
a:active { color: #333333; text-decoration: underline }

Can anyone help me out here please?
many thanx