html - radio button looks like checkbox in IE (and some FF) -
i have created website have radio buttons.
when them in chrome, looks fine.
but when open them in ie, looks checkbox. have square radio.
i tried below css,
.radio, input[type=radio] { border: none; box-shadow: none; }
but still square part there. don't know whether shadow or else.
you can check @
on inspecting code, seems problem because of background
attribute not box-shadow/border
.
input[type=checkbox], input[type=radio] { background: #999; //------ reason problem height: 16px; width: 16px; display: inline-block; padding: 0 0 0 0px; }
remove background
attribute, not shown.
Comments
Post a Comment