开发者

set links visited color to transparent works in firefox but not IE

i used this Code, works fine in Firefox, but in IE unvisited links are default blue and visited 开发者_StackOverflowlinks are purple? please help,not whats the deal

a:link {
    text-decoration:none;
    color:transparent;
}

a:visited {
    text-decoration: none;
    color:transparent;
}


Some googling on this issue shows that IE doesn't support color:transparent.

Try doing this for IE

a:link{color: transparent; width: 100%; filter: alpha(opacity=0)}
a:visited{color: transparent;  width: 100%; filter:alpha(opacity=0)}

Please do note that providing width seems to be necessary for opacity to take effect

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜