我希望2行显示chkbobes与colspan 10%但不工作 [英] I want 2 show chkbobes in single row with colspan 10% but not working
本文介绍了我希望2行显示chkbobes与colspan 10%但不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<div class="srchBxUserRights" id="GridDisplay" style="display: none;">
<table>
<tbody>
<tr >
<td colspan="10%">hiii</td>
<td align ="center" colspan="100%" >
<asp:CheckBox ID="CheckBox1" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox2" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox3" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox4" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox5" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox6" runat="server" />
</td>
<td align ="center" >
<asp:CheckBox ID="CheckBox7" runat="server" />
</td>
</tr>
</tbody>
推荐答案
结帐此链接
< br $>
http ://stackoverflow.com/questions/14690621/arrange-multiple-checkboxes-like-a-grid-without-tables [ ^ ]
http://www.jotform.com/answers/164509-one-CSS-line-for-multiple-form -checkbox-item [ ^ ]
http://www.jotform.com/help/176-How-to-apply-custom-CSS-to-a-particular-field 一> [ ^ ]
问候......:)
checkout this links
http://stackoverflow.com/questions/14690621/arrange-multiple-checkboxes-like-a-grid-without-tables[^]
http://www.jotform.com/answers/164509-one-CSS-line-for-multiple-form-checkbox-item[^]
http://www.jotform.com/help/176-How-to-apply-custom-CSS-to-a-particular-field[^]
regards ... :)
您可以使用CheckBox列表如下
You can make use of CheckBox list as below
<asp:checkboxlist id="checkboxlist1" runat="server" cellpadding="5" cellspacing="5" repeatdirection="Horizontal">
//Listitems......
</asp:checkboxlist>
问候......:笑:
Regards..:laugh:
这篇关于我希望2行显示chkbobes与colspan 10%但不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文