我想在内容页里放个文本框和按钮,然后让他们并排,我加了CSS不行,网上查了说内容页不能使用CSS好像,那应该怎么做才能让他们并排呢?
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="float:left; ">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</div>
<div style="float:left; ">
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
郎朗坤
撒科打诨