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