More information about the Underscore mailing list

[_] Wordpress permalinks causing IE6 to crash?!

Adrian White adrianwhiteuk at googlemail.com
Tue Mar 4 09:01:55 GMT 2008

Craig Francis wrote:
> On 3 Mar 2008, at 12:25, Dale-Anthony wrote:
>   
>> .navi a:link, a:active, a:visited { text-decoration: none; float:  
>> left;
>> color: white; }
>> .navi a:hover { text-decoration: none; float: left; color: #669933; }
>>     
>
>
> Could it be the selector?
>
> Shown on multiple lines, would create:
>
> .navi a:link,
> a:active,
> a:visited {
>      text-decoration: none;
>      float: left;
>      color: white;
> }
>
> i.e. it would effect all visited and active links, which could cause  
> some really complicated effects.
>
> Perhaps a better version would be:
>
> .navi a:link,
> .navi a:active,
> .navi a:visited {
>   
It is best to specify such selectors in a particular order:

"*Note:* a:hover MUST come after a:link and a:visited in the CSS 
definition in order to be effective!!
*Note:* a:active MUST come after a:hover in the CSS definition in order 
to be effective!!"
http://www.w3schools.com/css/css_pseudo_classes.asp

Known as LVHA (love, ha! or love/hate) I doubt this is an issue with you 
defining them all the same but it is good to remember.

Adrian