border

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



   Quick Statistics   
Default Value:
   [See individual properties]
Applicable Elements:
ALL
Inherit From Parent:
No
Applicable Media:
Visual
HTML Equivalent:
<img BORDER> | <table BORDER>
Official Docs:
CSS1: Sect. 5.5.22
CSS2: Sect. 8.5.4, CSS2.1: Sect 8.5.4
What is it?
This is a shorthand property which allows an author to specify the border-width, border-style, and border-color for all the borders of an element's rendering box at once. Unlike the 'margin' and 'padding' properties, this property cannot specify different values for each side. To do this, use the properties for each side instead ('border-top', 'border-right', 'border-bottom' and 'border-left'.)

Allowed Values
inherit
[CSS2|CSS2.1] [N6|S1]
Type: Explicit
Description:
Explicitly sets the value of this property to that of the parent.
[border-width]
[CSS1|CSS2|CSS2.1] [IE4B2|N4B4|O3.5|S1]
Type: [border-width]
Description:
Uses a [border-width] value to render the border for an element's rendering box.
[border-style]
[CSS1|CSS2|CSS2.1] [IE4B2|N4B4|O3.5|S1]
Type: [border-style]
Description:
Uses a [border-style] value to render the border for an element's rendering box.
[border-color]
[CSS1|CSS2|CSS2.1] [IE4B2|N4B4|O3.5|S1]
Type: [border-color]
Description:
Uses a [border-color] value to render the border for an element's rendering box.
Syntax
Selector { border: [border-width] [border-style] [border-color] }
Example
Ext/Doc: blockquote { border: medium dashed #ff0000 }
In-Line:  <blockquote STYLE="border: medium dashed #ff0000">this
is a beautiful blockquote test</blockquote>
Browser Peculiarities

Boring Copyright Stuff....