日期:2014-05-20  浏览次数:20389 次

菜鸟问题
<form id="form1" runat="server">
  <div id="login-wrapper" class="png_bg">
  <div id="login-top">
  <h1>&#27426;&#36814;&#20351;&#29992;HS&#21518;&#21488;CRM&#31649;&#29702;&#31995;&#32479;</h1>
  <!-- Logo (221px width) -->
  <a href="http://">
  <%--<img id="logo" src="resources/images/logo.png" alt="HS&#21518;&#21488;" />--%>
  </a>
  </div>
  <!-- End #logn-top -->
  <div id="login-content">
  </div>
  <div class="notification information png_bg">
  <div>
  <asp:Label ID="Label1" runat="server" Text="&#35831;&#22635;&#20889;&#27491;&#30830;&#20195;&#29702;&#21517;&#23494;&#30721;&#21518;&#28857;&#20987;&#30331;&#38470;"></asp:Label>
  </div>
  </div>
  <p>
  <label>&#20195;&#29702;&#21517;&#65306;</label>
  <asp:TextBox CssClass="text-input" ID="txtuser" runat="server"></asp:TextBox>
  </p>
  <div class="clear">
  </div>
  <p>
  <label>&#23494;&#30721;&#65306;</label>
  <asp:TextBox CssClass="text-input" ID="txtpwd" runat="server" TextMode="Password"></asp:TextBox>
  </p>
  <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" Text="&#20250;&#21592;" />
  <asp:RadioButton ID="RadioButton2" runat="server" Text="&#20195;&#29702;" />
  </p>
  <div class="clear">
  </div>
  <p id="remember-password">
   
   
  <div class="clear">
  </div>
  <p>
  <asp:Button CssClass="button" ID="btnLogin" runat="server" Text=" &#30331; &#24405; " OnClick="btnLogin_Click" />
  </p>
  </form>[code=HTML][/code]

如何使会员和代理两个选项平行显示?

------解决方案--------------------
贴一下 生成的html
------解决方案--------------------
div 一个float left 另外个float right
------解决方案--------------------
用table控制
------解决方案--------------------
用左右浮动,也就是float left 和 float right 实现,也可以都设置成float left 在设置一下宽度(width)就行了