asp.net.ph

Skip Navigation Links

border-left-style Attribute | borderLeftStyle Property

CSS Attributes Index   Box Attributes


Sets or retrieves the style of the object’s left border.

Syntax


CSS { border-left-style: "none' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset' }
Script object.style.borderLeftStyle = sStyle ]

Possible Values


none No border is drawn ( regardless of any border-width ).
dotted Border is a dotted line on the Macintosh platform as of Microsoft® Internet Explorer® 4.01, and a solid line on the Windows and Unix platforms.
dashed Border is a dashed line on the Macintosh platform as of Internet Explorer® 4.01, 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 two single lines and the space between equals the border-width value. The border width must be at least 3 pixels wide to draw a double border.
groove 3-D groove is drawn in colors based on the value.
ridge 3-D ridge is drawn in colors based on the value.
inset 3-D inset is drawn in colors based on the value.
outset 3-D outset is drawn in colors based on the value.

The property is read/write with a default value of none; this attribute is not inherited.

Remarks

A border-width greater than 0 must be set for the border-left-style attribute to render.

The SPAN and DIV objects must have either the position or the width attribute set in order to apply a border.

See Also

border-left, border-left-color, border-left-width



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note