<html>
<head>
<style type="text/css">
#coolmenu{
border: 1px solid black;
width: 170px;
background-color: #E6E6E6;
}
#coolmenu a{
font: bold 13px Verdana;
padding: 2px;
padding-left: 4px;
display: block;
width: 100%;
color: black;
text-decoration: none;
border-bottom: 1px solid black;
}
html>body #coolmenu a{ /*Non IE rule*/
width: auto;
}
#coolmenu a:hover{
background-color: black;
color: white;
}
</style>
</head>
<body>
<div id="coolmenu">
<a href="http://www.example.com">Example 1</a>
<a href="http://www.example.com/">Example 2</a>
<a href="http://www.example.com">Example 3</a>
<a href="http://www.example.com">Example 4</a>
<a href="http://www.example.com">Example 4</a>
</div>
</body>
allhimachal.com 0 Newbie Poster
macneato 29 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.