具体代码:
filter:alpha(opacity=50); //兼容ieopacity:0.5; //其他浏览器
若此层内的图片等不能实现透明度,只需要在此元素的上层元素(即父元素)设置css:
position:relative;