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 { padding-top: 5px; } #listamenu { border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: #CCC; padding-top: 0px; padding-right: 0px; padding-bottom: 20px; padding-left: 10px; margin: 0px; } #listamenu ul, #listamenu li { margin: 0; padding: 0; display: inline; list-style-type: none; } #listamenu a:link, #listamenu a:visited { float: left; line-height: 16px; font-weight: bold; margin: 0 10px 4px 10px; text-decoration: none; color: #999; border-top-width: 8px; border-bottom-width: 8px; border-top-style: solid; border-bottom-style: solid; border-top-color: #FFF; border-bottom-color: #FFF; } #listamenu a:hover, #listamenu a:active { padding-bottom: 2px; color: #000; border-bottom-width: 8px; border-bottom-style: solid; border-bottom-color: #F30; 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-bottom-width: 8px; border-bottom-style: solid; border-bottom-color: #F30; border-top-width: 8px; border-top-style: solid; border-top-color: #CCC; } #listamenu li#elementoattivo a:hover, #listamenu li#elementoattivo a:active { padding-bottom: 2px; color: #000; border-bottom-width: 8px; border-bottom-style: solid; border-bottom-color: #F30; border-top-width: 8px; border-top-style: solid; border-top-color: #F30; }