Visit Mozilla.org

CSS:border-left

From MDC

« CSS Reference

[edit] Summary

The border-left is a shorthand property for setting the width, style and color of left border of a box. This property can be used to set the values for one or more of: border-left-width, border-left-style, border-left-color. Omitted values are set to their initial values.

[edit] Syntax

border-left: [border-width || border-style || border-color | inherit] ;

[edit] Values

border-width
See border-width.
border-style 
See border-style.
border-color 
See border-color.

[edit] Examples

element { 
    border-left: 1px solid #000;
}

[edit] Notes

If the rule does not specify a border color, the border will have the color specified by the color property.

[edit] Specifications

[edit] Browser compatibility

Browser Lowest Version
Internet Explorer 4
Firefox 1
Netscape 4
Opera 3.5

[edit] See also

border, border-width, border-style, border-color, margin, padding

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