Every single element in a web page has some padding or margin, or borders applied by default.
A master reset puts all elements' border, margin and padding to 0 so you can add what you want without having to think if other element's margin will affect the element you are working with.
The simplest master reset is * {padding:0, margin:0, border:0}
But this has proved to be quite slow compared to other master resets out there which specify element by element and sets them to 0. As an example, you can look at Eric Meyer's reset which is very complete, although you may not need that level of detail.
Before asking, do a search... if you don't find the answer, then ask The purpose of this forum is to help others in the community, that's why it's called Sitepoint and not Linkpoint. SP Guidelines - No fluff.
Bookmarks