> 代码 > 其他整理ie6 ff下支持png图片插入方法
作者: 来源: 日期:2008/6/26 10:28:34 人气:
标签:
1.在css里加入如下代码
.qq {
height: 400px; width: 400px; background-image: url(1.png)!important;/* FF IE7 */ background-repeat: no-repeat; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='1.png'); /* IE6 */
_ background-image: none; /* IE6 */ } 2.在div里插入class引用
<div class="qq"></div>
这样就能让ie6 ff同时支持PNG图片透明
|
|