Pseudo-classes in CSS

Hi people,
I have a problem with giving links their outlook. The only thing that work in this code: on hover the weight becomes bolder but nothing else.
I would be glad if somebody cares.
[code]



a.nav:link
{
font-weight:normal;
font-color :9F0000;
}

a.nav:visited
{
font-weight:normal;
font-color :9F0000;
}

a.nav:hover
{
font-weight:bolder;
font-color: 3A7181;
}

a.nav:active
{
font-weight:bolder;
font-color: 3A7181;
}



aaaaaa



bbbbbb


cccccc


dddddd



eeeeee


ffffff




[/code]
Firestorm
blue_surfer2000@yahoo.de
;-)

Comments

  • [blue][b]You have an error in your CSS tag. It isn't "font-color", it's just "color" (without the qoutes). The resulting code should look like:

    [code]a.nav:link {font-weight:normal;color :9F0000}

    a.nav:visited {font-weight:normal;color :9F0000}

    a.nav:hover {font-weight:bolder; color: 3A7181}

    a.nav:active {font-weight:bolder;color: 3A7181;}[/code]

    :-)[/b][/blue]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion