ASP.NET Height property
Definition and Usage
Height property sets or returns the height of the control.
grammar
<asp:webcontrolid="id" Height="value"runat="server" />
属性 | 描述 |
---|---|
value | 控件的高度。必须是像素值,或表示父对象高度的百分比值。 |
Examples
The following example sets the height of the Button control:
<form runat="server">
<asp:Button id="button1" Text="Submit"
Height="50px" runat="server" />
</form>
<asp:Button id="button1" Text="Submit"
Height="50px" runat="server" />
</form>
The demonstration >>
Web Control Standard Properties Reference