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: behavior | Next Style: border-bottom |


border

A shorthand style that enables you to set multiple properties for the all the borders at once.

Support:

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

See Also:

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

Possible Values:

[border-color]
See border-color.

Support:

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

[border-style]
See border-style.

Support:

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

[border-width]
See border-width.

Support:

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

Example:
<P STYLE="border: 5px inset DarkBlue">
5-pixel, inset, dark blue borders
How It Looks:

5-pixel, inset, dark blue borders


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