[thelist] Links in CSS
Comharsa
comharsa at clara.net
Sat Jul 8 17:48:26 CDT 2000
From: "Palyne Gaenir" <palyne at sciencehorizon.com>
> Well I've been having a lot of fun trying to get everything into a
> stylesheet instead of a font tag lately, but I've run into a problem
> I'm hoping someone can help me with.
Try putting it into your stylesheet like this:
a:link {attributes}
a:visited {attributes}
a:active {attributes}
a:hover{attributes}
a.newstyle:link {attributes}
a.newstyle:visited {attributes}
a.newstyle:active {attributes}
a.newstyle:hover{attributes}
Ordinary links will take the first style but add class="newstyle" to the
ones you want to use the second style. I have used something similar to this
in the Fireworks FAQ linked from my sig.
HTH
Brian
comharsa at clara.net
Fireworks FAQ: http://comharsa.com/firefaq.php3
More information about the thelist
mailing list