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

ASP.NET BorderWidth Property

ASP.NET BorderWidth Property


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


Definition and Usage

The BorderWidth property is used to set or return the border width of the control.

Syntax

webcontrol

id="

id

" BorderWidth=

"length"

runat="server"

/>

property Description
length The width of the border. Must be a valid .NET length unit. Valid length units are: cm, mm, in, pt, pc, or px.

Example

The following example sets the border width of a table:

  asp:TableRow

    asp:TableCellHello

    asp:TableCellWorld

  

Demo Example »


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