Sent by Philippe Wittenbergh on 19 January 2003 01:01
On Sunday, January 19, 2003, at 10:48 AM, Damon Dimmick wrote:
[snipped a bit]
> #menubox a:link
> {
> font-size: 16px;
> font-weight: bold;
> text-decoration: none;
> color:#000000;
> font-family:Times;
> }
> #menubox a:hover
> {
> font-size: 16px;
> color: #666666;
> font-family:Times;
> }
> #menubox a:visited
> {
> font-size: 16px;
> font-weight: bold;
> text-decoration: none;
> color:#000000;
> font-family:Times;
> }
>
> Am I missing something simple because it is 5am and I am out of my
> mind?
the order of the pseudo-classes should be
a:link
a:visited
a:hover
a:active
<http://www.w3.org/TR/CSS2/selector.html#x36>
Philippe
== | == | == | == | == | == | == | == | == | == | == | ==
Philippe Wittenbergh
code | design | web projects : <http://www.l-c-n.com/>
online image gallery : <http://www.l-c-n.com/phiw/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>