IE bug: absolutely-positioned element with a non-transparent background colour

后端 未结 2 1313
有刺的猬
有刺的猬 2021-01-27 07:53

I have an absolutely-positioned DIV that I need to trap onclick events for. It turns out that, in IE7, the DIV seems to have no \'footprint\' for things like clicking and even c

2条回答
  •  梦谈多话
    2021-01-27 08:33

    Had the same problem and didnt found a better solution than the transparent gif. Note that this problem also occured in IE8 for me. You don't have to use a 2x2 px gif, 1x1 px is enough.

提交回复
热议问题