Horizontal navigation menu consists of a list <UL> with rollover effect
Example
Code 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>
Code CSS
#contenitoremenu { border-top-width: 8px; border-top-style: solid; border-top-color: #CCC; padding: 0px; margin: 0px; } #listamenu { padding-top: 0px; padding-right: 0px; padding-bottom: 20px; padding-left: 10px; margin: 0px; } #listamenu ul, #listamenu li { display: inline; list-style-type: none; padding: 0px; margin: 0px; } #listamenu a:link, #listamenu a:visited { float: left; line-height: 16px; font-weight: bold; text-decoration: none; color: #999; border-top-width: 8px; border-top-style: solid; border-top-color: #CCC; margin-top: -8px; margin-right: 10px; margin-bottom: 4px; margin-left: 10px; } #listamenu a:hover, #listamenu a:active { padding-bottom: 2px; color: #000; border-top-width: 8px; border-top-style: solid; border-top-color: #F30; } #listamenu li#elementoattivo a:link, #listamenu li#elementoattivo a:visited { padding-bottom: 2px; color: #000; border-top-width: 8px; border-top-style: solid; border-top-color: #F30; } #listamenu li#elementoattivo a:hover, #listamenu li#elementoattivo a:active { padding-bottom: 2px; color: #000; border-top-width: 8px; border-top-style: solid; border-top-color: #F30; }