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
精彩评论