|
|
|
Forum - CSS - sexypanels - orginal oleck61 (8 Posts bisher) | | 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: #222222 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/">
<div align="left">» LINK 1</div>
</a></li>
<li><a href="http://www.javascriptkit.com/jsref/">
<div align="left">» LINK 2</div>
</a></li>
<li><a href="http://www.javascriptkit.com/domref/">
<div align="left">» LINK 3</div>
</a></li>
<li><a href="http://www.cssdrive.com">
<div align="left">» LINK 4</div>
</a></li>
</ul>
|
|
Antworten:
Themen gesamt: 71 Posts gesamt: 187 Benutzer gesamt: 1
|
|
|
|
|
|
|
|
|
|
|
|