border-width property
What it does:
This property controls the width of a border around an element. You can specify a universal width for the border with one value, or you can control all of the widths by putting the values in this order: top, right, bottom, left. If a value is missing, the missing value is replaced with the value that would be directly opposite it. So, if you omitted a specification for left, it would share the same width as the right border would.
HTML Equivalent:
<img src="***" border="***">, <table border="***">
Values:
thin/medium/thick: Relative widths, obviously thin is the thinnest and thick is the thickest, with medium being in between.
(value): Set the width of a border, usually in pixel width. Make sure you specify the units.
Example:
External Style Sheet: table {border-width: thin thin thick thick;}
In-line: <table style="border-width: 2px;">
CSS Properties: Contents
|
::Fonts font-style font-weight font-family color |
::Text text-align text-decoration text-transform text-shadow |
::Backgrounds background-color background-image background-repeat background-attachment |
| ::Scrollbars | ::Dimensions | ::Margins and Padding |
|
::Borders Border Border-width Border-style |














