drgullin / icheck

Highly customizable checkboxes and radio buttons (jQuery & Zepto)
http://fronteed.com/iCheck
7.38k stars 1.62k forks source link

<ins>-Tag is covering everything else on the page. #114

Closed ghost closed 10 years ago

ghost commented 10 years ago

On Chrome 32, the generated <ins>-Tag is positioned absolute, while it's parent div is not positioned relative. Therefore the <ins> is covering everything else on the page, since it's element.style is

position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;

Setting the generated div to position: relative; does fix this problem. I don't know if this applies to all skins, but at least it applies to the minimal theme.

drgullin commented 10 years ago

iCheck sets position: relative; using css() method.

This style has been overwritten by some selector if it doesn't work for you. Check the appended css files.

<ins> tag is dropped in iCheck v2.x, you may try to use a newer version instead https://github.com/fronteed/iCheck/tree/2.x-beta