I want to use images as radiobuttons. Everything is ok in Chrome and Firefox. But in IE it doesn't work... Test URL: http://ift.tt/1ND2rAu
CSS and HTML:
label > input{ /* HIDE RADIO */
display:none;
}
label > input + img{ /* IMAGE STYLES */
cursor:pointer;
border:2px solid transparent;
}
<label>
<input type="radio" name="shape" value="round" checked />
<img id="roundShape" src="css/images/round.jpg">
</label>
Aucun commentaire:
Enregistrer un commentaire