Code:
<div style="opacity: 0.5; background-color: #000;">
<span style="opacity: 1.0;">Testing</span>
</div>
Or am I going to have to do absolute positioning with this? =\
<div style="opacity: 0.5; background-color: #000;">
<span style="opacity: 1.0;">Testing</span>
</div>
div {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* IE8, must be listed first. */
filter: alpha(opacity=50); /* IE5-7, must be listed second. */
}
body {
opacity: 0.5;
}
Comment