c#.net 中如何设置radiobuttonlist的单个选项宽度 c#.net 中如何设置radiobuttonlist的listitem的宽度啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <style> .myrbl td { width:200px; border:solid 1px red; } </style> <asp:RadioButtonList ID="r1" CssClass="myrbl" runat="server"> <asp:ListItem Text="AAAAAA" Value="1"></asp:ListItem> <asp:ListItem Text="BBBBBBB" Value="1"></asp:ListItem> </asp:RadioButtonList> <asp:RadioButtonList ID="RadioButtonList1" runat="server"> <asp:ListItem Value="男"></asp:ListItem> <asp:ListItem Value="女"></asp:ListItem> </asp:RadioButtonList>设置RadioButtonList1样式就可<style> .ListControlCSS {}{ list-style:none; margin:0px; width: 400px; background-color: #CCC; } .ListControlCSS INPUT {}{ background-color: #CCC; } .ListControlCSS li{}{ float:left; width:100px; line-height:30px;} </style>CssClass="ListControlCSS">或自定义RadioButtonList 【求助】随机生成卡号密码并保存为CSV文件 C#调用别人写的Delphi的EXE文件问题,麻烦高手帮我解答一下 C# AVI 音频录入问题 数据库命令对象问题 重构?重新写? 可不可以在静态方法中找到调用该方法的对象 与附属窗体的数据交换 web项目中,知道一个文件在服务器中的绝对路径,如何取得文件名? 500求VSS服務器版本的下載地址 能不能避开ASP.net 关于多线程中Monitor的问题 这句正则表达式是什么意思啊?
.myrbl td
{
width:200px;
border:solid 1px red;
}
</style>
<asp:RadioButtonList ID="r1" CssClass="myrbl" runat="server">
<asp:ListItem Text="AAAAAA" Value="1"></asp:ListItem>
<asp:ListItem Text="BBBBBBB" Value="1"></asp:ListItem>
</asp:RadioButtonList>
<asp:ListItem Value="男"></asp:ListItem>
<asp:ListItem Value="女"></asp:ListItem>
</asp:RadioButtonList>
设置RadioButtonList1样式就可
<style>
.ListControlCSS {}{ list-style:none; margin:0px; width: 400px; background-color: #CCC; }
.ListControlCSS INPUT {}{ background-color: #CCC; }
.ListControlCSS li{}{ float:left; width:100px; line-height:30px;}
</style>
CssClass="ListControlCSS">
或自定义RadioButtonList