|
Posted by Woodmon on 10/21/05 14:56
Andy Dingley <dingbat@codesmiths.com> wrote in
news:iqkhl19i15l6afj3kur7la4poru7cobega@4ax.com:
> On Fri, 21 Oct 2005 10:04:54 +0100, "Alan J. Flavell"
> <flavell@physics.gla.ac.uk> wrote:
>
>>This would also do the hover effect on <a name="..."> , which is
>>probably not what's wanted. I'd suggest using a:link:hover , to avoid
>>that happening.
>
>:link and :visited are disjoint though so you'd have to use a selector
>:of
>
> a:link:hover ,
> a:visited:hover { ... }
>
Cool. So is the following "order" correct?
a:link { color: #66CCFF; }
a:link:hover { color: #CC66FF; background-color: #0099cc;
text-decoration: #000000;}
a:visited { color: #CC66FF; }
a:visited:hover { color: #CC66FF; background-color: #0099cc;
text-decoration: #000000;}
a:active { color: #CC66FF; }
Navigation:
[Reply to this message]
|