Posted By

shibbard on 05/06/10


Tagged

css reset


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Lgarcia1928


CSS Reset


 / Published in: CSS
 

Rest CSS for browser compatibility

  1. /* CSS Reset */
  2. body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
  3. margin:0;
  4. padding:0;
  5. font-family: Verdana, Arial, Times New Roman, Sans-Serif;
  6. }
  7. table {
  8. border-collapse:collapse;
  9. border-spacing:0;
  10. }
  11. fieldset,img {
  12. border:0;
  13. }
  14. address,caption,cite,code,dfn,em,strong,th,var {
  15. font-style:normal;
  16. font-weight:normal;
  17. }
  18. ol,ul {
  19. list-style:none;
  20. }
  21. caption,th {
  22. text-align:left;
  23. }
  24. h1,h2,h3,h4,h5,h6 {
  25. font-size:100%;
  26. font-weight:normal;
  27. }
  28. q:before,q:after {
  29. content:'';
  30. }
  31. abbr,acronym { border:0;
  32. }
  33. .none{
  34. clear:both;
  35. }
  36. /* End CSS Reset */

Report this snippet  

You need to login to post a comment.