Jump to content

[SOLVED] Hovering over these links works in FF not IE 6


rxbanditboy1112

Recommended Posts

http://www.parrisstudios.com/mirage_framing/

 

It is a simple a:hover type thing, but I am not sure why it isn't working properly.

 

ul a{
line-height:20px;
float:left;
display:block;
padding: 0 20px;
text-decoration:none;
color: #C0AEA0;
position:relative;
}

li a:hover {
float:left;
position:relative;
background-color:#EADED2;
line-height:20px;
}

ul li{
float: left;
background-color:#ffffff;
position:relative;
line-height:20px;
}

li a{
display:block;
text-decoration:none;
color: #C0AEA0;
float:left;
position:relative;
line-height:20px;
}

You need to put the four link states in proper order. It is ALWAYS:

 

a:link, a:visited

a:hover, a:active

 

li a:link, li a:visited {

display:block;

text-decoration:none;

color: #C0AEA0;

float:left;

position:relative;

line-height:20px;

}

 

li a:hover, a:active {

float:left;

position:relative;

background-color:#EADED2;

line-height:20px;

}

 

They only work when in order ("link, visited, hover, active" - "LVHA" - "LoVe HAte")

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.