Forum Moderators: not2easy

Message Too Old, No Replies

simple links

Firebug says invalid label?

         

gstick

9:31 pm on Jul 20, 2009 (gmt 0)

10+ Year Member



I'm having trouble with this simple link structure:

a.nav:link {display:block; text-decoration:none; font-size:50%; background-color:inherit; color:#006633;}
a.nav:visited {font-weight:bold;}
a.nav:hover {background-color:inherit; color:red; text-decoration:underline;}
a.nav:active {color:#000099;}

Firebug points to .nav and reports "invalid label" I've cleaned out what I thought might be causing interference but the links remain underlined and are the wrong color.

Does anyone have a possible solution?

vincevincevince

6:54 am on Jul 21, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should start by defining the default for the a.nav:
e.g.
a.nav {display:block; text-decoration:none; font-size:50%; background-color:inherit; color:#006633;}

gstick

11:07 am on Jul 21, 2009 (gmt 0)

10+ Year Member



Thanks Vince. It worked like a charm. Guess I better go back to the book to see what else I've missed.