Forum Moderators: not2easy

Message Too Old, No Replies

Simple Stylesheet Links

why doesn't this work in firefox?

         

fjpapaleo

8:02 pm on Aug 12, 2006 (gmt 0)

10+ Year Member



a.vnav:link { font-family:Times New Roman; font-size:10pt; color:#000000; text-decoration:none; }
a:link { font-family: Arial; font-size: 8pt; color: #73405A; text-decoration: underline; }
a:visited { font-size: 8pt; font-family: Arial; color: #C78789; text-decoration: underline; }
a:active { color: #800000;font-size:8pt; font-family:Arial; }

I want <a href="link" class="vnav"> to be a simple 10 point new roman with no underline. Works fine in IE but Firefox shows the standard a:link attributes. How could this be so hard?

whoisgregg

8:09 pm on Aug 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try just "a" and "a.nav" instead of "a:link" and "a.vnav:link" :)

fjpapaleo

8:35 pm on Aug 12, 2006 (gmt 0)

10+ Year Member



I got it. I needed to add a.anav:visited. doh....

Thanks for the reply anyway.