Posted By

mware1205 on 09/17/09


Tagged

css


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

ottodashadow
robksawyer
jannisg


CSS reset


 / Published in: CSS
 

eric meyer

  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-size: 100%;
  16. font-family: inherit;
  17. vertical-align: baseline;
  18. }
  19. /* remember to define focus styles! */
  20. :focus {
  21. outline: 0;
  22. }
  23. body {
  24. line-height: 1;
  25. color: black;
  26. background: white;
  27. }
  28. ol, ul {
  29. list-style: none;
  30. }
  31. /* tables still need 'cellspacing="0"' in the markup */
  32. table {
  33. border-collapse: separate;
  34. border-spacing: 0;
  35. }
  36. caption, th, td {
  37. text-align: left;
  38. font-weight: normal;
  39. }
  40. blockquote:before, blockquote:after,
  41. q:before, q:after {
  42. content: "";
  43. }
  44. blockquote, q {
  45. quotes: "" "";
  46. }
  47. /* whoever thought blue linked image borders were a good idea? */
  48. a img,:link img,:visited img { border:none }
  49.  
  50.  
  51. /*END CSS RESET */
  52.  
  53. /* ################ SITE COLOR DATA #######################
  54.  
  55.  
  56.  
  57. */
  58.  
  59. body {position: relative; background-color: #fff; font-family: Helvetica, Arial, serif; height: 100%; font-size: 100%;}
  60.  
  61. h1 {font-size: 36px; font-weight: normal; font-family: Helvetica, Arial, serif; margin-bottom: 15px; color: #00703C;}
  62.  
  63. h2 {font-size: 26px; font-weight: normal; font-family: Helvetica, Arial, serif; margin-bottom: 15px; color: #fff;}
  64.  
  65. h3 {font-size: 19px; font-weight: normal; font-family: Helvetica, Arial, serif; margin-bottom: 8px;color: #00703C;}
  66.  
  67. h4 {font-size: 14px; font-weight: bold; font-family: Helvetica, Arial, serif; margin-bottom: 5px; color: #00703C;}
  68.  
  69. h5 {font-size: 10px; font-family: Helvetica, Arial, serif; font-weight: bold; line-height: 12px; color: #00703C; margin-bottom: 10px;}
  70.  
  71.  
  72. .bold_text {font-weight: bold;}
  73. .normal_text {font-weight: normal;}
  74. .underline {text-decoration:underline;}
  75.  
  76. P { font-size: 13px;}
  77.  
  78. ul {list-style-type: none; list-style-position: inside;}
  79.  
  80. .italic {font-style: italic;}
  81. .float_right {float: right; padding-left: 10px;}
  82. .float_left {float: left; padding-right: 10px;}
  83. .clear {clear: both;}
  84.  
  85.  
  86. a {font-weight: bold;}
  87. a:link {color: #222222; text-decoration: none; }
  88. a:visited {color: #222222; text-decoration: none;}
  89. a:hover {color:#777777; text-decoration: none; }
  90. a:active {color: #222222;}

Report this snippet  

You need to login to post a comment.