Horizontal Bullet On Hover
Author: Hekima
Comments: This is a pretty simple horizontal menu that displays a bullet image to the left of the menu items on hover. Simplicity isn't always a bad thing, you know.
Browser support chart
HTML
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#" id="current">Item one</a></li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
<li><a href="#">Item five</a></li>
</ul>
</div>
CSS
#navcontainer
{
margin-left: auto;
margin-right: auto;
margin-top: 20px;
margin-bottom: 10px;
}
#navlist li
{
display: inline;
padding-bottom: 14px;
padding-left: 20px;
background-repeat: no-repeat;
}
#navlist a
{
padding-left: 20px;
padding-bottom: 14px;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
}
#navlist a:link, #navlist a:visited
{
padding-left: 20px;
color: red;
background: url(http://hekima.lionking.org/randomness/arrowbullet.gif);
background-position: 0 -28px;
background-repeat: no-repeat;}
#navlist a:hover
{
color: black;
padding-left: 20px;
background: url(http://hekima.lionking.org/randomness/arrowbullet.gif);
background-repeat: no-repeat;
background-position: 0 -14px;}
ABOUT THE CODE
Some lists within the Listamatic site had to be modified so that they could
work on Listamatic's simple list model. When in doubt, use the external
resource first, or at least compare both models to see which one suits your needs.