<tr>
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标:</asp:Label></td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True">
<asp:ListItem Selected="True">品种之间比例结构分析</asp:ListItem>
<asp:ListItem>品种内部比例机构分析</asp:ListItem>
<asp:ListItem>进口量占产量比重分析</asp:ListItem>
<asp:ListItem>库存量占产量比重分析</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
根据上面代码显示的四个指标内容很乱,我想一行显示两个,外观好看些,应该怎么修改上面的html语言?(在visual studio2005 ASP.NET环境下开发的)
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标:</asp:Label></td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True">
<asp:ListItem Selected="True">品种之间比例结构分析</asp:ListItem>
<asp:ListItem>品种内部比例机构分析</asp:ListItem>
<asp:ListItem>进口量占产量比重分析</asp:ListItem>
<asp:ListItem>库存量占产量比重分析</asp:ListItem>
</asp:RadioButtonList></td>
</tr>
根据上面代码显示的四个指标内容很乱,我想一行显示两个,外观好看些,应该怎么修改上面的html语言?(在visual studio2005 ASP.NET环境下开发的)
解决方案 »
- distinct 多字段的问题
- 子窗口向父窗口传值,父窗口如何让他刷新获得值
- 关于数据更新,textbox类型转换成string或integer类型,恳请帮忙
- gridview分页问题:如何只取第一页的数据还要显示所有页码
- 要发帖求助,求个简单的jquery代码,知道思路不熟悉JQUERY语法
- 安装IIS和SQL2005问题
- 关于ASP.NET的问题,请各位大侠们帮忙 在线等 急~~~~~~~给分200
- C#以事務方式連接數據庫 如何嵌套事務 (根難的問題)
- 我才学会作了一个水晶报表,请教怎么打印?
- 我的jQueryMobile Demo不自动适应手机屏幕宽度
- nhibernate2.0.1--configuration问题,求高人指点一二
- 页面伪静态化以后能降低服务器开销?
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True">
<asp:ListItem Selected="True">品种之间比例结构分析 </asp:ListItem>
<asp:ListItem>品种内部比例机构分析 </asp:ListItem><br/>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<tr>
<td colspan="2" style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td>
</tr>
<tr>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True">
<asp:ListItem Selected="True">品种之间比例结构分析 </asp:ListItem>
</td>
<td>
<asp:ListItem>品种内部比例机构分析 </asp:ListItem>
</td>
</tr>
<tr>
<td>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
</td>
<td>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
错误 34 验证 (Internet Explorer 6): 元素“br”不能嵌套在元素“radiobuttonlist”中。 C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\Products\MyProjects\Products\Products\Admin\analyse\SupplyFrameAnalyse.aspx 113 93 C:\...\Products\
<tr>
<td style="height: 38px; width: 50%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td> <td></td>
</tr>
<tr>
<td><asp:RadioButton ID="RadioButton1" runat="server" Text="进口量占产量比重分析" /></td>
<td><asp:RadioButton ID="RadioButton2" runat="server" Text="库存量占产量比重分析" /></td>
</tr>
<tr>
<td><asp:RadioButton ID="rad3" runat="server" Text="进口量占产量比重分析" /></td>
<td><asp:RadioButton ID="rad4" runat="server" Text="库存量占产量比重分析" /></td>
</tr>
</table>像这种问题以后要自己解决
<tr>
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True" RepeatColumns="2">
<asp:ListItem Selected="True">品种之间比例结构分析 </asp:ListItem>
<asp:ListItem>品种内部比例机构分析 </asp:ListItem>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True" RepeatColumns="2">
<asp:ListItem Selected="True">品种之间比例结构分析 </asp:ListItem>
<asp:ListItem>品种内部比例机构分析 </asp:ListItem>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
<td style="height: 38px; width: 4%;" class="MyTd" align="center">
<asp:Label ID="Label6" runat="server" Height="15px">分析指标: </asp:Label> </td>
<td style="width: 5%; height: 38px;" class="MyTdBlue">
<asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal"
Width="250px" Height="21px" AutoPostBack="True" RepeatColumns="2">
<asp:ListItem Selected="True">品种之间比例结构分析 </asp:ListItem>
<asp:ListItem>品种内部比例机构分析 </asp:ListItem>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>
红色字为新添的内容,这样就可以分2列显示了