CSS: Opacity
Posted: Sat Nov 08, 2003 1:38 pm
Is there any way to get the background color of a input field, submit button, etc.. to have a low opacity, while the actual text (value) has 100%?
Code: Select all
input {
color:#000000;
font:normal 12px verdana;
border-color:#000000;
background-color:#FFFFFF;
border-style:solid;
border-width:1px;
margin-bottom:2px;
margin-left:2px;
filter:alpha(Opacity=45);
}
.submitbutton {
color:#000000;
filter:alpha(Opacity=100);
}