Posted By

vagrantradio on 02/16/10


Tagged

css style styling web reset tools Development ericmeyer


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

harrydeluxe


CSS RESET


 / Published in: CSS
 

URL: http://meyerweb.com/eric/tools/css/reset/index.html

  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, font, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td {
  9. margin: 0;
  10. padding: 0;
  11. border: 0;
  12. outline: 0;
  13. font-weight: inherit;
  14. font-style: inherit;
  15. font-family: inherit;
  16. vertical-align: baseline;
  17. }
  18. /* If you use br tags, you might want to remove this */
  19. br {display:none;}
  20. a:link, a:active, a:visited, a:focus {outline:none;}
  21. body {
  22. line-height: 1.6em;
  23. color: #000;
  24. background: #fff;
  25. }
  26. ol, ul {list-style: none;}
  27. /* tables still need 'cellspacing="0"' in the markup */
  28. table {
  29. border-collapse: separate;
  30. border-spacing: 0;
  31. }
  32. caption, th, td {
  33. text-align: left;
  34. font-weight: normal;
  35. }
  36. blockquote:before, blockquote:after,
  37. q:before, q:after {
  38. content: "";
  39. }
  40. blockquote, q {
  41. quotes: "" "";
  42. }
  43. *:focus {outline:none!important;} /*remove webkit focus outline */
  44. input {margin:0;} /*remove 2px border across top of input */

Report this snippet  

You need to login to post a comment.