|
|
|
Hello World Forum - SADASD CSS TEST (Gast)
| | Zitat: | <style type="text/css">
.sexypanels{
list-style-type: none;
margin: 0;
padding: 0;
width: 160px; /* width of menu */
}
.sexypanels li{
border-bottom: 1px solid white; /* white border beneath each menu item */
}
.sexypanels li a{
background: #333 url(media/sexypanelright.gif) no-repeat right top; /*color of menu by default*/
font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana;
display: block;
color: white;
width: auto;
padding: 5px 0; /* Vertical (top/bottom) padding for each menu link */
text-indent: 8px;
text-decoration: none;
border-bottom: 1px solid black; /*bottom border of menu link. Should be equal or darker to link's bgcolor*/
}
.sexypanels li a:visited, .sexypanels li a:active{
color: white;
}
.sexypanels li a:hover{
background-color: black; /*color of menu onMouseover*/
color: white;
border-bottom: 1px solid black; /*bottom border of menu link during hover. Should be equal or darker to link's hover's bgcolor*/
}
</style> <!--[if IE]>
<style type="text/css">
.sexypanels li a{ /* Menu link width value for IE */
width: 100%;
}
</style>
<![endif]-->
<ul class="sexypanels">
<li><a href="http://www.dynamicdrive.com/">» Dynamic Drive</a></li>
<li><a href="http://www.dynamicdrive.com/style/">» CSS Examples</a></li>
<li><a href="http://www.javascriptkit.com/jsref/">» JavaScript Reference</a></li>
<li><a href="http://www.javascriptkit.com/domref/">» DOM Reference</a></li>
<li><a href="http://www.cssdrive.com">» CSS Drive</a></li>
<li class="lastitem"><a href="http://www.codingforums.com/">» Coding Forums</a></li>
</ul> |
|
Antworten:
Themen gesamt: 117 Posts gesamt: 172 Benutzer gesamt: 1
|
|
|
|
|
|
|
|
|
|
|
|