Re: MacIE 5.0 CSS bug

>On Tue, 28 Mar 2000, Walter Ian Kaye wrote:
>
>> Oh Taaaaanteeeeek... ;)
>> 
>> In my page I have:
>> 
>> <STYLE TYPE="text/css">
>>    <!--
>>    A:link    { color: #0000FF }
>>    A:hover   { color: #0000FF; background: #FFFF00; text-decoration: 
underline }
>>    A:active  { color: #000000; background: #999999; text-decoration: 
underline }
>>    A:visited { color: #666666 }
>>    -->
>> </STYLE>
>> 
>> For visited links, the hover is not coloring the text blue. It worked 
in 4.5, but it's not working in 5.0.
>> 
>> What's up?
>
>The cascade is working properly. What you want is the :visited above
>the :hover, since they have the same weight (011). So this is not a
>bug in MacIE5. 
>
>However, even better would be:
>
>   :link { color: #0000FF; background: transparent; }
>   :visited { color: #666666; background: transparent; }
>   :link:active, :visited:active { color: #000000; 
>      background: #999999; text-decoration: underline; }
>   :link:hover, :visited:hover { color: #0000FF; 
>      background: #999999; text-decoration: underline; }
>
>See also:
>   http://www.people.fas.harvard.edu/~dbaron/css/1999/09/links
>
>-- 
>Ian Hickson                            ("`-''-/").___..--''"`-._   
>http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
>                                        (_Y_.)'  ._   )  `._ `. ``-..-' 
fL
>Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
>Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    
>

Your message could not be processed because you are not allowed to post 
messages to the Mac Internet Explorer Talk list. 

For more information, you can contact the list administrator at:

    jud spencer <juds@athena.doe.com>

Received on Wednesday, 29 March 2000 04:48:50 UTC