Posted By

smynett on 07/25/07


Tagged

css reset


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

basicmagic
depmed
Quizosde
isdereks


Default CSS Starting Sheet


 / Published in: CSS
 

based loosely on Eric Meyers sheet but then tweaked to my own.

  1. /* --- Start Reset and default selectors --- */
  2. html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, em, img, strong, ol, ul, li { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
  3. a:link, a:visited, a:hover, a:link {text-decoration: none;}
  4. body { line-height: 1; color: black; background: white; }
  5. ol, ul { list-style: none; }
  6. .clear {clear: both;} .right {float: right;} .left {float: left;} body {font-size: 62.5%;}
  7. strong {font-weight: bold} em {font-style: italic;}
  8.  
  9. /*-- End Reset --*/

Report this snippet  

You need to login to post a comment.