Menu di navigazione verticale composto da una lista <UL> con effetto rollover
Esempio
Codice Html
<div id="contenitoremenu">
<ul id="listamenu">
<li id="elementoattivo"><a href="#">Home</a></li>
<li><a href="#">Chi sono</a></li>
<li><a href="#">Portfolio lavori</a></li>
<li><a href="#">Servizi</a></li>
<li><a href="#">Contatti</a></li>
</ul>
</div>
Codice CSS
#contenitoremenu { width: 200px; } #contenitoremenu ul { margin-left: 0px; padding-left: 0px; list-style-type: none; border-top-width: 1px; border-top-style: dashed; border-top-color: #999; padding-top: 3px; } #contenitoremenu a { display: block; width: 190px; padding-top: 5px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; height: 20px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #999; color: #000; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; } #contenitoremenu a:link, #contenitoremenu a:visited { color: #000; text-decoration: none; } #contenitoremenu a:hover, #contenitoremenu a:active { color: #F30; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #999; } #elementocorrente a:link, #elementocorrente a:visited { color: #F90; text-decoration: none; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #999; } #elementocorrente a:hover, #elementocorrente a:active { color: #F30; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #333; }