PDA

View Full Version : CSS Question



Luke
28-09-2007, 05:05 PM
.anylinkcss{
position:absolute;
visibility: hidden;
border:0px solid black;
border-bottom-width: 0;
font:normal 10px Verdana;
line-height: 18px;
z-index: 100;
background-color: #E9FECB;
width: 205px;
}

.anylinkcss a{
width: 100%;
display: block;
text-indent: 3px;
border-bottom: 1px solid black;
padding: 1px 0;
text-decoration: none;
font-weight: bold;
text-indent: 5px;
}

.anylinkcss a:hover{ /*hover background color*/
background-color: black;
color: white;
}
}

ok, that is my css code, ita a drop down navigation box. What i want to know is, can anybody alter this so my box is sort of about 75% transparent (sorry, i suck at CSS)

+rep to all help. Thanks :)

Drompo
28-09-2007, 05:13 PM
.anylinkcss{
position:absolute;
opacity:0.25;
border:0px solid black;
border-bottom-width: 0;
font:normal 10px Verdana;
line-height: 18px;
z-index: 100;
background-color: #E9FECB;
width: 205px;
}

Have a play with the value
Value must be between 0 and 1

Eccentric
28-09-2007, 05:25 PM
.anylinkcss{
position:absolute;
opacity:0.25;
border:0px solid black;
border-bottom-width: 0;
font:normal 10px Verdana;
line-height: 18px;
z-index: 100;
background-color: #E9FECB;
width: 205px;
}Have a play with the value
Value must be between 0 and 1

:) Yep that is correct should work just checked it over quickly ;)

Luke
28-09-2007, 05:41 PM
.anylinkcss{
position:absolute;
opacity:0.25;
border:0px solid black;
border-bottom-width: 0;
font:normal 10px Verdana;
line-height: 18px;
z-index: 100;
background-color: #E9FECB;
width: 205px;
}

Have a play with the value
Value must be between 0 and 1

thanks, it worked xD

+rep

Want to hide these adverts? Register an account for free!