I was looking for a jQuery plugin that let me create an array of buttons and I found jQuery UI buttonset Now this widget is very close to what I need, since only one button can be checked at the time, but now comes the question: does this widget provide a way to display the list of options(radios) in certain number of rows?? I ask because I want to have a result like the one in the image below :

Here's a fiddle
And the Html code:
<fieldset>
<legend>Operators</legend>
<div id="pare">
<input type="radio" id="pareA" name="pare" value="(" />
<label for="pareA">(</label>
<input type="radio" id="pareC" name="pare" value=")" />
<label for="pareC">)</label>
</div>
<div id="arit">
<input type="radio" id="arit1" name="arit" value="+" />
<label for="arit1">+</label>
<input type="radio" id="arit2" name="arit" value="-" />
<label for="arit2">-</label>
<input type="radio" id="arit3" name="arit" value="*" />
<label for="arit3">*</label>
<input type="radio" id="arit4" name="arit" value="/ " />
<label for="arit4">/</label>
</div>
<div id="rela">
<input type="radio" id="rela2" name="rela" value=">" />
<label for="rela2">></label>
<input type="radio" id="rela5" name="rela" value="<" />
<label for="rela5"><</label>
<input type="radio" id="rela3" name="rela" value=">=" />
<label for="rela3">>=</label>
<input type="radio" id="rela6" name="rela" value="<=" />
<label for="rela6"><=</label>
<input type="radio" id="rela1" name="rela" value="=" />
<label for="rela1"> = </label>
<input type="radio" id="rela4" name="rela" value="<>" />
<label for="rela4"><></label>
</div>
<div id="logi">
<input type="radio" id="logi1" name="logi" value="And" />
<label for="logi1">And</label>
<input type="radio" id="logi2" name="op" value="Or" />
<label for="logi2"> Or</label>
</div>
</fieldset>
and the js:
$("#pare").buttonset();
$("#arit").buttonset();
$("#rela").buttonset();
$("#logi").buttonset();
Any advise or guidance would be greatly appreciated.