|
|
CSS underline color on links - CSS
|
Views : 2848
|
|
Tagged in : CSS
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
To make underline color change on links you can use the following format,
<html
<head>
<style>
a:hover{color:#f00;}
a{text-decoration:underline;}
span.link{color:#000;}
</style>
</head>
<body>
</body>
</html>
You can also use borders instead of text-decoration
a:link {
text-decoration:none;
border-bottom:1px solid black;
}
a:visited {
border-bottom:1px solid grey;
}
a:hover {
border-bottom:1px solid red;
} |
|
By - Rekha, On - 2009-04-28 |
|
|
|