I'm trying to create a div which where I can set the opacity for the background-color to be < 1. The border though should be totally opaque.
This is what I have as of now.
#level_highlight {
position: absolute;
display: none;
border:5px solid gray;
background-color: #00FFFF;
-webkit-box-shadow: 0px 0px 4px #ffffff;
-moz-box-shadow: 0px 0px 4px #ffffff;
box-shadow: 0px 0px 4px #ffffff;
opacity: 0.4;
filter:alpha(opacity=40); /* IE's opacity*/
-webkit-border-radius: 12px;
-moz-border-radius: 12px;
border-radius: 12px;
-moz-background-clip: padding;
-webkit-background-clip: padding-box;
background-clip: padding-box;
}
Could somebody suggest what I should change to manage it?
Thanks!