Export (0) Print
Expand All
Expand Minimize

2.1.29 [CSS-Level2-2009] Section 8.5.1, Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', and 'border-width'


The specification states:

Value:                 <border-width>{1,4} | inherit 
Initial:               see individual properties 
Applies to:            all elements 
Inherited:             no 
Percentages:           N/A 
Media:                 visual 
Computed value:        see individual properties

Quirks Mode (All Versions)

The border-width property is not applied to the bottom border of elements that are specified with a display type of inline.

Quirks Mode and IE7 Mode (All Versions)

When a border-width property has an invalid unit identifier, the value is converted to pixels instead of being ignored and is assigned a value of medium.

IE7 Mode (All Versions)

The border-width property is applied to the bottom border; the bottom border is clipped at the content edge.

© 2015 Microsoft