Forum Moderators: not2easy
You can san see a demo here:
[nofearcomputing.com...]
HTML
----------
<div id="vertmenu">
<ul>
<li><a href="#" tabindex="1">Home</a></li>
<li><a href="#" tabindex="2">About Us</a></li>
<li><a href="#" tabindex="3">Computing</a></li>
<li><a href="#" tabindex="4">Web Sites</a></li>
<li><a href="#" tabindex="5">Games</a></li>
<li><a href="#" tabindex="6">Links</a></li>
</ul>
</div>
CSS
----------
#navcontainer ul
{
list-style-type: none;
text-align: left;
}
#navcontainer ul li a
{
background: transparent url(images/bullet.gif) left center no-repeat;
padding-left: 15px;
text-align: left;
font-family:Tahoma, Arial, Helvetica, sans-serif; font-size:14px; color:#33CC00; font-weight:bold;
text-decoration: none;
color: #999;
border-bottom: 1px dashed #FF9933;
}
#navcontainer ul li a:hover
{
background: transparent url(images/x.gif) left center no-repeat;
color: black;
border-bottom: 1px dashed #FF9933;
}
#navcontainer ul li a#current
{
background: transparent url(images/x.gif) left center no-repeat;
color: #666;
border-bottom: 1px dashed #FF9933;
}
Now, about your problem...
You're forgetting these very important blocks of code:
#vertmenu ul li {
margin: 0px;
padding: 5px;
padding-left: 15px;
background: transparent url(images/bullet.gif) left center no-repeat; } #vertmenu ul li a {
font-size: 85%;
display: block;
border-bottom: 1px dashed #FF9933;
padding: 5px 0px 2px 4px;
text-decoration: none;
color: #33CC00;
width:100px; }It's actually the first block that's calling the bullet.gif originally, -not- your
#vertmenu ul li a. The code you have posted is incorrect -
#vertmenu ul li a is not calling the background, the #vertmenu ul li is in your working example. I hope from there on you can understand where you're going wrong :)
Let me know if you have any other problems.