Default CSS Starting Sheet


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.