Re: Bug#308988: bad usage of anchor tags leads to ugly css hover effects
On Mon, May 16, 2005 at 03:01:02PM +0100, Peter Karlsson wrote:
> :link { color: #0000FF; }
> :link:visited { color: #800080; }
> :link:active { color: #FF0000; }
> :link:hover { color: #F000FF; }
Hmm - according to the CSS2 spec (5.11.2), :link and :visited are mutually
exclusive, so :link:visited won't work, or am I mistaken? The following
(untested!) might be better:
:link { color: #0000FF; }
:link:active { color: #FF0000; }
:link:hover { color: #F000FF; }
:visited { color: #800080; }
:visited:active { color: #FF0000; }
:visited:hover { color: #F000FF; }
Cheers,
Richard
--
__ _
|_) /| Richard Atterer | GnuPG key:
| \/¯| http://atterer.net | 0x888354F7
¯ '` ¯
Reply to: