I am running into a bit of a problem styling the radio buttons that are generated by the {html_radios} smarty tag..
The internet is full of ways to style radio buttons (or more precise a <label> or <span> after the button), but as this tag generates the buttons inside their span I cannot seem to get that to work.
This is an example output from the tag:
Code: Select all
<label for="id_1000"><input type="radio" name="id" value="1000" id="id_1000" />Joe Schmoe</label>
<label for="id_1001"><input type="radio" name="id" value="1001" id="id_1001" checked="checked" />Jack Smith</label>
<label for="id_1002"><input type="radio" name="id" value="1002" id="id_1002" />Jane Johnson</label>
<label for="id_1003"><input type="radio" name="id" value="1003" id="id_1003" />Charlie Brown</label>
So basically what I need is either an output like this:
Code: Select all
<input type="radio" name="id" value="1003" id="id_1003" /><label for="id_1003">Charlie Brown</label>
Any ideas?
Thanks a lot,
Edwin