CSS Treehouse Club: CSS My First Web Page Comments, Selectors, and Syntax

Andrei Punei
Andrei Punei
14,051 Points

Margin, Borders and Padding

What are the limitations of using margins border and padding, I'm only guessing you can use them to some extent?

2 Answers

Martin Jones
.a{fill-rule:evenodd;}techdegree seal-36
Martin Jones
Front End Web Development Techdegree Graduate 41,167 Points

No real limitations as such.

I would look into how the box-model works and also look when you might want to use something like:

box-sizing: border-box;

This should help give a better understanding of how margins, border and padding work.