Change Anchor underline decoration when mouse hover
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"
xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style rel="stylesheet" type="text/css">
#list {
background-image: url(images/list_bg.gif);
background-position: top left;
background-repeat: repeat-y;
width: 214px;
margin: 5px 0 0 0;
float: left
}
#list ul {
padding: 21px 0 30px 16px;
list-style-type: none
}
#list div {
padding: 21px 0 30px 16px;
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #595959;
}
#list div p {
width: 185px;
padding: 5px 0 5px 3px
}
#list li a {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #595959;
text-decoration: underline;
background-image: url(images/arrow.gif);
background-position: top left;
background-repeat: no-repeat;
line-height: 24px;
padding: 0 0 3px 22px;
}
#list a:visited {
text-decoration: underline
}
#list a:hover {
text-decoration: none
}
</style>
</head>
<body>
<div id="list">
<ul>
<li><a href="#">Lorem ipsum dolor</a></li>
<li><a href="#">Mauris urna</a></li>
<li><a href="#">Maecenas hendrerit</a></li>
<li><a href="#">Proin nunc</a></li>
<li><a href="#">Donec nonummy, tellus</a></li>
<li><a href="#">Aenean sit amturpis</a></li>
<li><a href="#">Lorem ipsum dolor sit amet</a></li>
<li><a href="#">Massa ac laoreet iaculipede</a></li>
<li><a href="#">Lorem ipsum</a></li>
<li><a href="#">Donec nonummy</a></li>
</ul>
</div>
</body>
</html>
Related examples in the same category