Hello World Forum - CSS - menü - arrowblue Steiner[KF] (Gast)
| | Zitat: |
<div class="arrowblue">
<ul>
<li><a href="" class="selected" title="CSS"> <div align="left">Home</div>
</a></li>
<li><a href="https://www.1und1.de/sd2"> <div align="left"> 1und1 </div></a></li>
<li><a href="https://www.gmx.net" title="Home"><div align="left">gmx.net</div>
</a></li>
<li><a href="https://web.de"><div align="left"> web.de</div>
</a></li>
</ul>
<style type="text/css">
.arrowblue{
width: 160px; /*width of menu*/
border-style: solid solid none solid;
border-color: #000000;
border-size: 1px;
border-width: 1px;
}
.arrowblue ul{
list-style-type: none;
margin: 0;
padding: 0;
}
.arrowblue li a{
font: bold 12px Verdana, Arial, Helvetica, sans-serif;
display: block;
background: transparent url(//img.webme.com/pic/w/westgate/arrowblue_.gif) 100% 0;
height: 24px; /*Set to height of bg image- padding within link (ie: 32px - 4px - 4px)*/
padding: 4px 0 4px 10px;
line-height: 24px; /*Set line-height of bg image- padding within link (ie: 32px - 4px - 4px)*/
text-decoration: none;
}
.arrowblue li a:link, .arrowblue li a:visited {
color: #000000;
}
.arrowblue li a:hover{
color: #000000;
background-position: 100% -32px;
}
.arrowblue li a.selected{
color: #000000;
background-position: 100% -64px;
}
</style>
|
| | | | farhan (Gast)
| | Follow review channels that showcase speedruns and high-level gameplay in online games. Nemo Gamer
|
Antworten:
Themen gesamt: 117 Posts gesamt: 172 Benutzer gesamt: 1
|