hey all,
I'm using pseudo classes as normal to define link attributes:
I used to specify explicitly that the color should be black, or whatever it is, but I think its better to use inherit here, so it will just use the color I've assigned--basically it won't change the color to anything else just because it's a link.Code:a:link {text-decoration: none; color: inherit} /* unvisited link */ a:visited {text-decoration: none; color: inherit} /* visited link */ a:hover {text-decoration: none; color: inherit} /* mouse over link */ a:active {text-decoration: none; color: inherit} /* selected link */
Anyway, works like a charm in IE8+ but in IE7 the links are changed to a different color. Is there a way to set this to black manually JUST for older browsers? Or is best practice just to not use inherit?
Thanks for any advice!


Reply With Quote

Bookmarks