:Texbox用的TextMode設置爲多行: alt text http://www.nango.co.uk/forums/uploads/1251792203/gallery_2_3_18518.jpgtextarea的(ASP:文本框的TextMode =「多行」)重疊的按鈕
下面是代碼:
<asp:Panel ID="pnlGiftStep" Visible="false" runat="server">
<img src="/images/shopping-cart/form-separator.png" alt="separator" />
<div class="form-title">GIFT OPTIONS</div>
<div class="row">
<asp:TextBox ID="txtGiftName" Height="31" Width="323" BorderStyle="None" Font-Names="Arial"
Font-Size="116.7%" runat="server"></asp:TextBox>
<cc1:TextBoxWatermarkExtender ID="wmeGiftName"
TargetControlID="txtGiftName" WatermarkText="Gift Name"
WatermarkCssClass="watermark" runat="server"></cc1:TextBoxWatermarkExtender>
</div>
<br class="clear" />
<div class="row">
<asp:TextBox ID="txtGiftMessage" Rows="5" Width="323" BorderStyle="None"
Font-Names="Arial" TextMode="MultiLine"
Font-Size="116.7%" runat="server"></asp:TextBox>
<cc1:TextBoxWatermarkExtender ID="wmeGiftMessage"
TargetControlID="txtGiftMessage" WatermarkText="Gift Message"
WatermarkCssClass="watermark" runat="server"></cc1:TextBoxWatermarkExtender>
</div>
<br class="clear" />
<div class="button-row">
<asp:ImageButton ID="imbShippingDetails"
ImageUrl="/images/shopping-cart/ship-details-btn.png"
OnClick="ReturnToShipping"
ValidationGroup="shipping"
runat="server" />
<asp:ImageButton ID="imbPayDetails" ImageUrl="/images/shopping-cart/pay-details-btn.png"
ValidationGroup="pay"
runat="server" />
</div>
<br class="clear" />
</asp:Panel>
這裏是CSS:
.row
{
float:left;
height:40px;
}
.button-row
{
float:left;
width:323px;
text-align:right;
}
任何想法如何,我可以停止?
謝謝。
你可以發佈你的網址,我一定可以幫你解決這個問題。 – 2010-06-17 15:19:38