border-width

Support Key: [CSS1|CSS2|CSS2.1] [IE4B2|N4B3|O3.5|S1]
Other Border-Width Properties
border-top-width
border-right-width
border-bottom-width
border-left-width
= Index DOT Css by Brian Wilson =
  Main Index | Property Index | CSS Support History | Browser History  



   Quick Statistics   
Default Value:
   medium
Applicable Elements:
ALL
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<img BORDER> | <table BORDER>
Official Docs:
CSS1: Sect. 5.5.15
CSS2: Sect. 8.5.1, CSS2.1: Sect 8.5.1
What is it?
This is a shorthand property which allows an author to specify 'border-top-width', 'border-right-width', 'border-bottom-width', and 'border-left-width' properties using a single property and value notation (the values are given in this order separated by spaces.) If one or more of the values are not present, the value for a missing side is taken from the opposite side that is present. If only one value is listed, it applies to all sides.

Allowed Values
inherit
[CSS2|CSS2.1] [N6|O7|S1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
thin | medium | thick
[CSS1|CSS2|CSS2.1] [IE4B2|N4B3|O3.5|S1]
Type: Calculated
Description:
Renders a "thin", "medium" or "thick" border for a side of the element's rendering box. The actual thickness of these border values is not specified, but "thin" should have a smaller thickness than "medium", which should have a smaller thickness than "thick".
[length]
[CSS1|CSS2|CSS2.1] [IE4B2|N4B3|O3.5|S1]
Type: Explicit
Description:
Sets the width of the border for a side of the element's rendering box to an explicit measurement.
Syntax
Selector { border-width: [width] {1,4} }
Example
Ext/Doc: strong { border-width: thick thin }
In-Line:  <strong STYLE="border-width: thick thin thick thin">this is a beautiful test</strong>
Browser Peculiarities

Boring Copyright Stuff....