« draft post | Ajax file uploaders »

Css links underline etc problem in IE

By pavic | March 14, 2006

There is a problem with IE not inheriting styles for links if thay are not defined like this:

#something a {
text-decoration:none;
}

#something a:hover {
text-decoration:underline;
}

there is also visiter order:

example:

a:link {

color: #0000CC;

font-family: Verdana;

font-size: 14px;

font-weight: bold;

}

a:hover {

color: #E80000;

font-family: verdana;

font-size: 14px;

font-weight: bold;

font-style: normal;

line-height: normal;

font-variant: normal;

text-transform: none;

border: thin none #FFFFFF;

text-decoration: underline;

}

a:visited {

color: #0000CC;

font-family: verdana;

font-size: 14px;

font-weight: bold;

font-style: normal;

}

a:active {

color: #0000CC;

font-family: verdana;

font-size: 14px;

font-weight: bold;

font-style: normal;

}

Topics: PHP |

Comments are closed.