css - Set text aligment on the right side -
i have table left text alignment. how can set checkbox right text alignment?
<h:panelgroup styleclass="table-right"> <h:selectbooleancheckbox value="#{bean.method}"> </h:selectbooleancheckbox> </h:panelgroup> .table-right { text-align: right; }
html output:
<tr> <td>security question</td> <td><textarea id="form:securityquestion" name="form:securityquestion" cols="60" rows="3" onblur="mojarra.ab(this,event,'blur',0,'form:securityquestionvalidator')"></textarea><span id="form:securityquestionvalidator"></span></td> </tr> <tr> <td>security answer</td> <td><textarea id="form:securityanswer" name="form:securityanswer" cols="60" rows="3" onblur="mojarra.ab(this,event,'blur',0,'form:securityanswervalidator')"></textarea><span id="form:securityanswervalidator"></span></td> </tr>
is there solution change cell alignment of checkbox css?
.table-right input[type="checkbox"] { float: right; }
this should align checkbox right
Comments
Post a Comment