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

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;"

 

这样调代码,使其相对浮动。

posted @ 2010-06-18 17:56  DavidHHuan  阅读(363)  评论(0编辑  收藏  举报