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; } #contenitoremenu a { display: block; width: 160px; background-color: #FFF; padding-top: 5px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; height: 20px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #FC0; border-left-width: 30px; border-left-style: solid; border-left-color: #FC0; 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; background-color: #FFF; } #contenitoremenu a:hover, #contenitoremenu a:active { background-color: #F3F3F3; color: #000; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #FC0; border-left-width: 30px; border-left-style: solid; border-left-color: #F60; } #elementocorrente a:link, #elementocorrente a:visited { color: #000; text-decoration: none; background-color: #F3F3F3; } #elementocorrente a:hover, #elementocorrente a:active { background-color: #F3F3F3; color: #000; text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #FC0; border-left-width: 30px; border-left-style: solid; border-left-color: #F60; }