I'm trying to hover text over a semi-transparent rectangle. The only way I knew how to create the rectangle was with a div (css below). If I put the text in the #rectangle div it lowers the opacity of the text aswell. Can anyone tell me how I can hover it above the box? I can't figure it out. Thanks
Code:
#rectangle {
width:101px;
height:25px;
background-color:#ffffff;
border:none;
opacity:0.5;
filter:alpha(opacity=100);
margin-right: 50px;
margin-bottom: 30px;
margin-top: 10px;
}