CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "border" CSS property

The "border" CSS Property


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> || <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