Friday, June 5, 2009

Lesson: Margins vs Padding

Within CSS margins perform are almost the same function as the CSS Padding attribute, except for one important difference: a margin defines the white space AROUND an HTML element's border, while padding refers to the white space INSIDE the element border.

1 comment: