221k views
1 vote
For the purposes of laying out content, the total height of a box is calculated by adding which of the following?

User Liam
by
6.9k points

2 Answers

6 votes

content height and the top and bottom margins, borders, and padding


User Chewy
by
6.9k points
6 votes
When laying out content, the box is calculated by setting the width and height of the element using CSS to the size of the content area, the full size of an element can be calculated by also adding in borders, padding and margins.
User Denuka
by
6.9k points