Eric Meyer's Browser Reset Reloaded


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



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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.