css koden:
A.bigmenu:link {COLOR: #333333; TEXT-DECORATION: none}
A.bigmenu:visited {COLOR: #333333; TEXT-DECORATION: none}
A.bigmenu:hover {COLOR: #FFFFFF; font-size: 18pt; TEXT-DECORATION: none;}
.newmenu a {
border: #FFFFFF solid;
border-width: 0px 1px 1px 1px;
background-color: #EEEEEE;
margin: 0px 0px 0px 0px;
padding: 4px 10px 5px 7px;
text-align:left;
vertical-align:text-bottom;
text-decoration: none;
}
.newmenu a:hover {
background-color: #D3DCDB;
width: 150px;
padding: 4px 10px 5px 7px;
text-align:center;
text-decoration: none;
position: relative;
top: 100%;
}
diven:
<div class="newmenu" style="position: absolute; top: 100%; left: 50%;">
<a href="" class="bigmenu">Menu1</a>
<a href="" class="bigmenu">Menu2</a>
<a href="" class="bigmenu">Menu3</a>
</div>
Indlæg senest redigeret d. 10.04.2007 16:59 af Bruger #11596