背景透明,内容不透明的方法

background-color:rgba(0,0,0,0.2);
filter:Alpha(opacity=20);
*zoom:1;

 

 

IE6 IE7 IE8 IE9 标准浏览器
rgba
filter : Alpha

 

或者使用两个标签,绝对定位的方式实现