Posted By

digitalzoomstudio on 08/25/11


Tagged

css margin reset


Versions (?)

CSS Reset


 / Published in: CSS
 

  1. *{ margin:0; padding:0; }
  2. html, body, div, span, applet, object, iframe,
  3. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  4. a, abbr, acronym, address, big, cite, code,
  5. del, dfn, em, img, ins, kbd, q, s, samp,
  6. small, strike, strong, sub, sup, tt, var,
  7. b, u, i, center,
  8. dl, dt, dd, ol, ul, li,
  9. fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td,
  11. article, aside, canvas, details, embed,
  12. figure, figcaption, footer, header, hgroup,
  13. menu, nav, output, ruby, section, summary,
  14. time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
  15. /* HTML5 display-role reset for older browsers */
  16. article, aside, details, figcaption, figure,
  17. footer, header, hgroup, menu, nav, section { display: block; }
  18. body { line-height: 1; }
  19. ol, ul { list-style: none; }
  20. blockquote, q { quotes: none; }
  21. blockquote:before, blockquote:after,
  22. q:before, q:after { content: ''; content: none; }
  23. table { border-collapse: collapse; border-spacing: 0;}
  24.  
  25.  
  26. body{ font: 12px/20px Helvetica,Arial,sans-serif; }
  27. strong{ font-weight:bold; }
  28. ul li{list-style:square; list-style-position:inside; }
  29. ul ul li{ margin-left:1em; }
  30. .content-wrapper{ overflow-x:hidden; }
  31. .content{ margin:20px 20px; width:10000px; }
  32. h1{ font-family: 'Yanone Kaffeesatz', sans-serif; font-size:2.7em; margin: 1em 0; }
  33. h2{ font-family: 'Yanone Kaffeesatz', sans-serif; font-size:2.2em; margin: 1em 0; }
  34. h3{ font-family: 'Yanone Kaffeesatz', sans-serif; font-size:1.75em; margin: 1em 0; }
  35. h4{ font-family: 'Yanone Kaffeesatz', sans-serif; font-size:1.25em; margin: 1em 0; }
  36. h5{ font-weight:normal; font-size:1.05em; margin:0.5em 0.05em; }
  37. hr{ background: none repeat scroll 0 0 #DDDDDD; border: 0 none; height: 1px; }

Report this snippet  

You need to login to post a comment.