LAYERS
CALC
DISPLAY
100

This is the central layer of the Box Model, where actual text and images appear.

CONTENT

100

By default, specified CSS width and height property values apply only to this specific area of the Box Model.

CONTENT BOX/AREA

100

This display value allows the box to sit horizontally within a paragraph like text, but does allow specified width and height values to be applied.


INLINE-BLOCK

200

This transparent area clears space directly around the content, inside the border.

PADDING

200

Although this property affects the total space an element takes up on the page, it is NOT included in the calculation of the box's actual total width or height.

MARGIN

200

Looking at the slide examples, this is the default display type for a <p> tag and a <div> tag.

BLOCK

300

This layer goes around the outside of the padding and content, often having a thickness, style, and color.

BORDER

300

Calculate total element width: Specified Width=200px, L/R Padding=20px total, L/R Border=10px total, Margin=15px. (Provide the numeric total width).

230px

300

With this specific default outer display type, width and height properties values are NOT respected by the browser.

INLINE

400

This is the outermost layer. It clears an area outside the border, separates elements from each other, and is always transparent.

MARGIN


400

Provide the full formula used to calculate total element height.

height + top padding + bottom padding + top border + bottom border

M
e
n
u