filter:progid:DXImageTransform.Microsoft.AlphaImageLoader滤镜处理页面背景图片问题

我想给一个页面添加一张背景图片能够自适应大小 但是图片带大 我就在网上找到了这个滤镜的方法 功能是实现了 但是在body里添加了输入框 只能显示 不能输入 求高人指点

在<table标记中加入style='position:absolute' 或position:relative 就可以解决该问题
具体代码如下:
<script language=javascript>
function tests(){
alert(event.srcElement.outerHTML);
}
document.body.attachEvent("onclick",tests);
</script>
<style type="text/css">
#idDiv{left:140px; height:400;
width:400;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/back/db-0.png',sizingMethod='scale');
background-image:none;
}
</style>
<div id='idDiv'>
<table style='position:relative'>
<tr>
<td style='cursor:hand;color:red'><a href='http://www.sohu.com'>试一试超链接</a></td>
</tr>
<tr>
<td style='cursor:hand;color:red' onclick='alert(11)'>点击一下能用否</td>
</tr>
</table>
</div>
温馨提示:答案为网友推荐,仅供参考
第1个回答  2012-07-26
表示没有遇到过这样的问题,可能是你的添加有误吧
第2个回答  2012-07-26
你可以截图试试
相似回答