Menu di navigazione composto da una lista <UL> con effetto rollover
Esempio
Codice Html
<div id="contenitoretabs">
<ul id="listatabs">
<li id="tabcorrente"><a href="#"><div class="tabCentratoVerticalmente">2013</div></a></li>
<li><a href="#"><div class="tabCentratoVerticalmente">2012</div></a></li>
<li><a href="#"><div class="tabCentratoVerticalmente">2011</div></a></li>
<li><a href="#"><div class="tabCentratoVerticalmente">2010</div></a></li>
<li><a href="#"><div class="tabCentratoVerticalmente">2009</div></a></li>
</ul>
</div>
Codice CSS
#contenitoretabs { height: 40px; border-bottom-width: 4px; border-bottom-style: solid; border-bottom-color: #CCC; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 8px; } #listatabs { margin: 0px; padding: 0px; } #listatabs ul, #listatabs li { padding: 0px; display: inline; list-style-type: none; margin: 0px; } #listatabs a:link, #listatabs a:visited { float: left; font-weight: bold; text-decoration: none; color: #999; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 0px; width: 100px; text-align: center; text-transform: uppercase; height: 37px; display: block; vertical-align: middle; background-color: #F3F3F3; border-bottom-width: 3px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-bottom-color: #CCC; padding-top: 0px; padding-right: 0px; padding-bottom: 3px; padding-left: 0px; -webkit-border-top-left-radius: 50px; -webkit-border-top-right-radius: 50px; -moz-border-radius-topleft: 50px; -moz-border-radius-topright: 50px; border-top-left-radius: 50px; border-top-right-radius: 50px; } #listatabs a:hover, #listatabs a:active { font-weight: bold; text-decoration: none; color: #000; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 0px; width: 100px; height: 37px; text-align: center; vertical-align: middle; display: block; background-color: #CCC; border-bottom-width: 4px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-bottom-color: #CCC; padding: 0px; } #listatabs li#tabcorrente a:link, #listatabs li#tabcorrente a:visited { font-weight: bold; text-decoration: none; color: #000; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 0px; padding: 0px; width: 100px; text-align: center; height: 40px; vertical-align: middle; display: block; border-bottom-width: 4px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-bottom-color: #F30; background-color: #F30; } #listatabs li#tabcorrente a:hover, #listatabs li#tabcorrente a:active { font-weight: bold; text-decoration: none; color: #000; margin-top: 0px; margin-right: 8px; margin-bottom: 0px; margin-left: 0px; padding: 0px; width: 100px; height: 40px; text-align: center; vertical-align: middle; display: block; border-bottom-width: 4px; border-top-style: none; border-right-style: none; border-bottom-style: solid; border-left-style: none; border-bottom-color: #CCC; background-color: #CCC; } .tabCentratoVerticalmente { width: 100px; margin-top: 12px; text-align: center; vertical-align: middle; display: block; }