ASP.NET BorderStyle Property
Web control standard properties reference manual
Definition and Usage
The BorderStyle property is used to set or return the border style of the control.
Syntax
webcontrol id=" id " BorderStyle= "style" runat="server" /> The following example sets the border style of a table: Demo Example »Possible Style Values
Value
Description
notSet
No border style is set.
none
Defines no border.
dotted
Defines a dotted border.
dashed
Defines a dashed border.
solid
Defines a solid border.
double
Defines a double solid border. The width of the double line equals the value of border-width.
groove
Defines a 3D grooved border. Its effect depends on the value of border-color.
ridge
Defines a 3D ridged border. Its effect depends on the value of border-color.
inset
Defines a 3D inset border. Its effect depends on the value of border-color.
outset
Defines a 3D outset border. Its effect depends on the value of border-color.
Example
Web control standard properties reference manual