CSS In Depth: Margins, Padding & The Box Model

The difference between padding and margins, how the box model effects browsers and some tips and tricks dealing with cross-browser issues.

In the first of the CSS In depth series, we’ll be talking about margins, padding and the box model. Margins and padding are some of the most widely used styles in CSS, but are often the source of frustration in cross-browser compatibility.

In this post, we’ll explain the difference between padding and margins, how the box model effects browsers and some tips and tricks dealing with cross-browser issues.

Comments

Be the first to write a comment

You must me logged in to write a comment.