CSS Tip: Reset Styles
About the Author
Mike Rogers is a Web Developer who is currently at University studying Web Technologies. He also is the founder of Full On Design. He has several years experience freelancing and you can follow him on Twitter (Rogem002).
CSS is incredible, however its implementation in browsers has not been standardised, meaning that every browser has a slightly different default settings for how elements should be rendered. Luckily there is an easy fix in CSS to reduce the level of dissimilarity.
Add the following to the top of your CSS:
* {
margin: 0;
padding: 0;
color: #000;
background: #FFF;
font-style: inherit;
text-decoration: none;
font-size: 100%;
font-weight: normal;
}