一、
background:#000;opacity:0.5;filter:alpha(opacity=50);
文字也透了,可以处理成1层文字1层背景
二、
filter:progid:DXImageTransform.Microsoft.gradient(enabled='true',startColorstr='#7F000000', endColorstr='#7F000000');background:rgba(0,0,0,0.5);
CSS背景颜色属性值转换
http://www.linxz.de/demo/hex_color.html