Backgrounds and Borders
This section describes Cascading Style Sheets (CSS) features related to backgrounds and borders.
In this section
| Property | Description |
|---|---|
|
Specifies up to five separate background properties of an object. | |
|
Specifies how the background image (or images) is attached to the object within the document. | |
|
Specifies the background painting area or areas relative to the element's bounding boxes. | |
|
Specifies the color behind the content of the object. | |
|
Specifies the background image or images of the object. | |
|
Specifies the positioning area of an element or multiple elements. | |
|
Specifies the position of the background of the object. | |
|
Specifies whether and how the background image (or images) is tiled. | |
|
Specifies the size of the background images. | |
|
Specifies the properties of a border drawn around an object. | |
|
Specifies the properties of the bottom border of the object. | |
|
Specifies the foreground color of the bottom border of an object. | |
|
Specifies the radii of the quarter ellipse that defines the shape of the lower-left corner for the outer border edge of the current box. | |
|
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the lower-right corner for the outer border edge of the current box. | |
|
Specifies the style of the bottom border of the object. | |
|
Specifies the thickness of the bottom border of the object. | |
|
Indicates whether the row and cell borders of a table are joined in a single border or detached as in standard HTML. | |
|
Specifies the border color of the object. | |
|
Specifies how an image is to be used in place of the border styles. | |
|
Specifies the amount by which the border image area extends beyond the border box. | |
|
Specifies if the sides of the border image are scaled or tiled. | |
|
Using four inward offsets, this property slices the specified border image into a three by three grid: four corners, four edges, and a center. | |
|
Specifies the location of the image to be used for the border. | |
|
Specifies the width/height of the border image by defining inward offsets from the edges of the border image area. | |
|
Specifies the properties of the left border of the object. | |
|
Specifies the foreground color of the left border of an object. | |
|
Sets or retrieves the style of the left border of the object. | |
|
Specifies the thickness of the left border of the object. | |
|
Specifies the radii of a quarter ellipse that defines the shape of the corners for the outer border edge of the current box. | |
|
Specifies the properties of the right border of the object. | |
|
Specifies the foreground color of the right border of an object. | |
|
Specifies the style of the right border of the object. | |
|
Specifies the thickness of the right border of the object. | |
|
Specifies the distance between the borders of adjoining cells in a table. | |
|
Specifies the style of the left, right, top, and bottom borders of the object. | |
|
Specifies the properties of the top border of the object. | |
|
Specifies the foreground color of the top border of an object. | |
|
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the upper-left corner for the outer border edge of the current box. | |
|
Sets or retrieves one or two values that define the radii of the quarter ellipse that defines the shape of the upper-right corner for the outer border edge of the current box. | |
|
Specifies the style of the top border of the object. | |
|
Specifies the thickness of the top border of the object. | |
|
Specifies the thicknesses of the left, right, top, and bottom borders of an object. | |
|
Specifies one or more set of shadow values that attaches one or more drop shadows to the current box. | |
|
Specifies the x-coordinate of the background-position property. | |
|
Specifies the y-coordinate of the background-position property. |