Jump to content

css menu bar transparent help!


wtp

Recommended Posts

hi all,

 

does anyone know how to set menu bar background to transparent?

this is my code how to change set it to transparent? i try and try still cannot become transparent. thanks

 

.anylinkmenu{
position: absolute;
left: 0;
top: auto;
visibility: collapse;
border: 0px #135307;
border-bottom-width: medium;
font: 15px Angelina;
line-height: 20px;
background: transparent url(trans.png) repeat;
z-index: 1;
width: 100px; /* default width for menu */
}

.anylinkmenu ul{
position:relative;
margin: 0;
padding: 0;
list-style:none;

}

.anylinkmenu ul li a{
position:relative;
width: 100%;
text-indent: 4px;
border-bottom: 0px solid black;
padding: 2px 0;
text-decoration: none;
font-weight: bold;
text-indent: 5px;
color:#000;
background: transparent url(trans.gif) no-repeat right top;
display:block;
z-index: -1;
}

.anylinkmenu a:hover{ /*hover background color*//* background when mouse point to the submenu link */
font-weight:bolder;
text-indent: 20px;
color: black;
background:url(trans.gif);
position:relative;
}

Link to comment
https://forums.phpfreaks.com/topic/153118-css-menu-bar-transparent-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.