Hidden radio button but box around it in ie8
I have a style of my radio buttons with a background image, basically what I did is
<input type="radio" id="btn" name="btn" style="opacity: 0;filter: alpha(opacity = 0);position:absolute;">
<label for="btn">My Text</label> <!--- added styles to it --->
with this i get output something like this
Image1 that shows how the display should be: http://i39.tinypic.com/2vcyidg.png
It works fine in every browser except ie8, in ie8 it shows a dotted box around hidden buttons when a label is selected
Image2 shows the problems in ie8: http://i39.tinypic.com/j8l635.png
I cannot choose to display properties: none; like in IE browsers it disables the radio buttons, so I need to hide that.
How can I hide this dotted rectangle in ie8?
Thanks.
Hello,
Shishant Todi.
+1
a source to share
3 answers