Style.borderStyle Property

SharePoint Designer Developer Reference

Returns or sets a String that represents the line style of the left, right, top, and bottom borders of a specified object.

Syntax

expression.borderStyle

expression   Required. A variable that represents a Style object.

Remarks

The String for the borderStyle property can be one of the following values:

Value Description
none Border is not drawn.
dotted Border is a dotted line on the Apple Macintosh platform with Microsoft Internet Explorer version 4.01 or later, and a solid line on the Microsoft Windows and Unix platforms.
dashed Border is a dashed line on the Macintosh platform with Internet Explorer 4.01 or later, and a solid line on the Windows and Unix platforms.
solid Border is a solid line.
double Border is a double line drawn on top of the background of the object. The sum of the widths of two single lines and the space between equals the value of the borderWidth property. The borderWidth property must be at least 3 pixels wide to draw a double border.
groove 3-D groove is drawn in colors based on the value in the borderColor property.
ridge 3-D ridge is drawn in colors based on the value in the borderColor property.
inset 3-D inset is drawn in colors based on the value in the borderColor property.
outset 3-D outset is drawn in colors based on the value in the borderColor property.

See Also