Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Height Property

ASP.NET Height Property


Web Control Standard Attributes Reference Manual Web control standard properties reference manual


Definition and Usage

The Height property is used to set or return the height of the control.

Syntax

webcontrol

id="

id

" Height=

"value"

runat="server"

/>

property Description
value The height of the control. Must be a pixel value, or a percentage value representing the height of the parent object.

Example

The following example sets the height of a Button control:

Height="50px" runat="server" />

Demo Example »


Web Control Standard Attributes Reference Manual Web control standard properties reference manual