css-reset.css 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*Eric Meyer Reset CSS
  2. http://meyerweb.com/eric/tools/css/reset/
  3. */
  4. html, body,div, span, applet, object, iframe,
  5. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  6. a, abbr, acronym, address, big, cite, code,
  7. del, dfn, em, font, img, ins, kbd, q, s, samp,
  8. small, strike, strong, sub, sup, tt, var,
  9. b, u, i, center,
  10. dl, dt, dd, ol, ul, li,
  11. fieldset, form, label, legend,
  12. table, caption, tbody, tfoot, thead, tr, th, td {
  13. margin: 0;
  14. padding: 0;
  15. border: 0;
  16. outline: 0;
  17. font-size: 100%;
  18. vertical-align: middle;
  19. background: transparent;
  20. }
  21. body {
  22. line-height: 1;
  23. }
  24. ol, ul {
  25. list-style: none;
  26. }
  27. blockquote, q {
  28. quotes: none;
  29. }
  30. blockquote:before, blockquote:after,
  31. q:before, q:after {
  32. content: '';
  33. content: none;
  34. }
  35. /* remember to define focus styles! */
  36. :focus {
  37. outline: 0;
  38. }
  39. /* remember to highlight inserts somehow! */
  40. ins {
  41. text-decoration: none;
  42. }
  43. del {
  44. text-decoration: line-through;
  45. }
  46. /* tables still need 'cellspacing="0"' in the markup */
  47. table {
  48. border-collapse: collapse;
  49. border-spacing: 0;
  50. }
  51. a{text-decoration:none;}