您的位置:首页 > Web前端 > HTML

[html] <a> and <input> can not click in IE6 when use png fixed -- IE6下png图片和png背景透明导致该区域的链接和按钮无效

2010-06-18 17:56 651 查看
Here I use DD_belatedPNG_0.0.8a-min.js to handle the png problem in IE6.

In this js file, there is a filter:

progid:DXImageTransform.Microsoft.AlphaImageLoader(src="img.jpg",sizingMethod="crop")


This will make the <a> and <input> unclickable.

这个会导致该区域的链接(<a>标签)和按钮(<input>)不能点击。

解决方法,the resolve :

Add the style to the <a> or <input>, 为链接或按钮添加style:

style="position: relative;"


这样调代码,使其相对浮动。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: