CodeIgniter Forums
Form Gen Library Radio group - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Form Gen Library Radio group (/showthread.php?tid=29663)



Form Gen Library Radio group - El Forum - 04-16-2010

[eluser]tom.waters[/eluser]
I would like to put the radio buttons on my form one under the other. When I add <br/> to the config file the second radio button does come under the first but it is indented to the right and doesn't look right. Has anyone dealt with this?


Form Gen Library Radio group - El Forum - 04-17-2010

[eluser]Tominator[/eluser]
Hi!

You have so many options ... but everything is about CSS. You may try something like this:
Code:
&lt;input type="radio" ... style="display: block"&gt;

Or you can play with margins, paddings and text-indent.

And maybe will be great, if you post here, how it should look and your code Smile

Tom.