Slate and Steel Buttons

Author: Justin Busch

Browser support chart

HTML
<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#" id="current">Item one</a>
<ul id="subnavlist">
<li id="subactive"><a href="#" id="subcurrent">Subitem one</a></li>
<li><a href="#">Subitem two</a></li>
<li><a href="#">Subitem three</a></li>
<li><a href="#">Subitem four</a></li>
</ul>

</li>
<li><a href="#">Item two</a></li>
<li><a href="#">Item three</a></li>
<li><a href="#">Item four</a></li>
</ul>
</div>

CSS
#navcontainer ul
{
margin: 0;
padding: 0;
list-style-type: none;
}

#navcontainer li a
{
width: 10em;
margin: .2em 0 .2em 0;
font-weight: bold;
padding: .2em .8em .2em .6em;
color: #00FFFF;
}

#navcontainer li li a
{
width: 9em;
margin: .2em 0 .2em 0;
font-weight: normal;
}

#navcontainer ul ul { margin-left: 1em; }

#navcontainer a
{
text-decoration: none;
background-color: #4682B4;
display: block;
border-style: outset;
border-width: 3px;
}

#navcontainer li a:hover
{
background-color: #6A5ACD;
border-style: inset;
}

#navcontainer li li a:hover
{
background-color: #6A5ACD;
border-style: inset;
}

#navcontainer li a#current { background-color: #708090; }
#navcontainer li li a#subcurrent { background-color: #708090; }


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.