CSS Tip: Reset Methods

The browser will give elements such as the body, headings, paragraphs and lists certain margins, line heights and padding by default. If we don’t reset any of the default CSS parameters, the browser will use its own default parameters instead.

Since different browsers have different default CSS, a site layout can end up looking inconsistent, depending on which browsers you use. That’s why it’s usually good practice to use a CSS reset, because it gives us a good baseline for laying out pages by completely removing certain browser style inconsistencies such as margins, padding, line height, and heading font sizes.

There are two common CSS reset methods used today, Eric Meyers’ reset CSS and normalize.css.
Continue reading