I'm trying to make my labels in a different style when the radio button is checked. The problem is that I'm using a javaScript plugin called ezMark which generates
Here is the code.
<div class="ez-radio">
<input type="radio" id="line0" name="line-style" value="1" class="ez-hide">
</div>
<label style="background:url('1.jpg')no-repeat;" ></label>
and here is CSS that I tried to use to style the code
.ez-radio input:checked+label {...}
Honestly I don't need the javaScript on this page, yet I'm using templates and it is dynamically loaded. Is there an option to switch off the ezMark js before the radiobuttons? Or maybe style the label despite the ezMark script.
EDIT
The <div ez-radio
is dynamically generated by the script. I have no control so that I can add the label between this div.
class="ez-radio
结尾处缺少一个"
。 - Kyle