The "border" CSS Property

Shorthand

This shorthand property sets the width, color, and style for all four borders of a box. Unlike some other shorthand properties, this one cannot set different values on the four borders. NOTE: In CSS3, <color> includes "transparent".

Values for "border"
CSS LevelValue
CSS 2.1"<border-width> || <border-style> || 'border-top-color'"
CSS3"<line-width> || <line-style> || <color>"

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem