[thelist] CSS text hyperlink mouseover

Jonathon Isaac Swiderski jonathon.swiderski at oberlin.edu
Sun Apr 15 22:37:08 CDT 2001

--Derry Talvainn <dtalvain at bigpond.net.au> wrote:
> Is it possible to apply an a:hover style to only some of the links on a
> given page or does it have to apply to every link?

sure is . . . looks something like this:

A:link {color: #ff1111;  background: transparent;}
A:hover {color: #ff1111;  background: transparent;}
A.hover:hover {color: #005500;  background: transparent;}

<a href="http://www.example.com/">this link will look the same hovered and 
<a href="http://www.example2.com/" class="hover">this link will be green 
when hovered</a>

Jonathon Isaac Swiderski            "Yet each man kills the thing he loves,
135 W Lorain St OCMR 2678                        By each let this be heard,
Oberlin OH 44074                             Some do it with a bitter look,
                                               Some with a flattering word,
http://members.evolt.org/jswiders           The coward does it with a kiss,
soon: http://www.oberlin.edu/~PAN              The brave man with a sword!"
jswiders at oberlin.edu              -Oscar Wilde, The Ballad of Reading Gaol

More information about the thelist mailing list