Another Reset CSS


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

My personal Reset CSS: a mixt of YUI, Eric Meyer and others


Copy this code and paste it in your HTML
  1. body {
  2. color: #000;
  3. font: normal normal 400 62.5% Arial, 'Trebuchet MS', Verdana, Sans-Serif;
  4. line-height: 1;
  5. margin: 0;
  6. padding: 0;
  7. }
  8. body * {
  9. font-size: 1em;
  10. margin: 0;
  11. padding: 0;
  12. vertical-align: baseline;
  13. }
  14. ul, ol { list-style: none; }
  15. fieldset, img { border: 0; }
  16. table {
  17. border-collapse: collapse;
  18. border-spacing: 0;
  19. }
  20. address { font-style: normal; }
  21. abbr, acronym {
  22. border: 0;
  23. font-variant: normal;
  24. }
  25. blockquote, q {
  26. quotes: "" "";
  27. quotes: none;
  28. }
  29. blockquote:before, blockquote:after,
  30. q:before, q:after { content: ""; }
  31. ins { text-decoration: none; }
  32. del { text-decoration: line-through; }
  33. a {
  34. color: #000;
  35. text-decoration: none;
  36. }
  37. a:hover { text-decoration: underline; }
  38. /*a:focus { outline: 0; }*/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.