April 3rd, 2008 | In HTML / XHTML / CSS, tips and tricks | No Comments »
This is a nice trick to have different colors for the link( in webpages ) and its underline using CSS.
It works by just applying the border-bottom attribute in the hover psudo class of the ‘a’;
a.underline_color {
text-decoration:none;
color:gray;
}
a.underline_color:hover…