急急急....html语句怎么写?

xiawadeyouhuo 2008-12-03 02:37:43
<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环境下开发的)
...全文
126 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
一弗楚 2008-12-03
  • 打赏
  • 举报
回复
[Quote=引用 6 楼 amanizty 的回复:]
<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 Selecte…
[/Quote]

MagicLuobo 2008-12-03
  • 打赏
  • 举报
回复
<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列显示了
amanizty 2008-12-03
  • 打赏
  • 举报
回复
<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>
amanizty 2008-12-03
  • 打赏
  • 举报
回复

<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>

anncesky 2008-12-03
  • 打赏
  • 举报
回复
<table>
<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>

像这种问题以后要自己解决
xiawadeyouhuo 2008-12-03
  • 打赏
  • 举报
回复
加了<br/>后出错:
错误 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\
tomscat 2008-12-03
  • 打赏
  • 举报
回复

<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>
一弗楚 2008-12-03
  • 打赏
  • 举报
回复
<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><br/>
<asp:ListItem>进口量占产量比重分析 </asp:ListItem>
<asp:ListItem>库存量占产量比重分析 </asp:ListItem>
</asp:RadioButtonList> </td>
</tr>

62,269

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧