[thelist] simple html css question
Olly
gnarly at punkass.com
Sat Jun 29 06:13:01 CDT 2002
----- Original Message -----
From: "PeterV" <peter at poorbuthappy.com>
Subject: [thelist] simple html css question
> How do you do that again when you want a link to be grey not underlined
and
> when someone hovers over it blue not underlined? I suck at CSS,
honestly...
> and i'm at home without my books
You can define a class in your CSS file, eg:
a.classname {
color: #CCCCCC;
text-decoration: none;
}
a.classname:hover {
color: #6699CC;
text-decoration: underline;
}
And then <a href="blah" class="classname"> makes that link use that style.
HTH,
Olly.
More information about the thelist
mailing list