The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's Style Sheets Reference

| Index | Current Category: Borders |
| Previous Style: border-top-width | Next Style: bottom |


border-width

A shorthand style that enables you to set multiple border width properties at once.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later 4.0 and later
Notes:

See Also:

border-bottom-width, border-left-width, border-right-width, border-top-width

Possible Values:

[border-bottom-width]
See border-bottom-width.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later 4.0 and later

[border-left-width]
See border-left-width.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later 4.0 and later

[border-right-width]
See border-right-width.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later 4.0 and later

[border-top-width]
See border-top-width.

Support:

W3C StandardInternet ExplorerNetscape Navigator
CSS1 and later 4.0 and later 4.0 and later

Example:
<P STYLE="border-width: thin medium thick 10px; border-style: solid">
Thin top border, medium right border, thick bottom border, 10px left border.
How It Looks:

Thin top border, medium right border, thick bottom border, 10px left border.


| Index | Current Category: Borders |
| Previous Style: border-top-width | Next Style: bottom |