Term
CSS Uses a box model to control how elements are made. |
|
Definition
|
|
Term
Boxes consist of the content areas and optional padding, border, and margin. |
|
Definition
|
|
Term
The content area contains the element. |
|
Definition
|
|
Term
The padding is used to create visual space around the content area. |
|
Definition
|
|
Term
The margin surrounds the border, padding, and content, and allows space to be added between the element and other elements. |
|
Definition
|
|
Term
Padding, border, and margin are all optional. |
|
Definition
|
|
Term
An element background will show under the content and the padding, but not under the margin. |
|
Definition
|
|