Posted By

guilhermehn on 03/22/11


Tagged

css reset browsers


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

oppey


Reset CSS


 / Published in: CSS
 

  1. /*--------------------------------------------------*/
  2. /*------CSS RESET - by Guilherme H. Nagatomo--------*/
  3. /*------ 2010 - 2011 -------------------------------*/
  4. /*--------------------------------------------------*/
  5. html, body, div, span, applet, object, iframe, h1, h2, h3,
  6. h4, h5, h6, p, blockquote, pre, a, abbr, acronym,
  7. address, big, cite, code, del, dfn, em, font, ins,
  8. kbd, q, s, samp, small, strike, strong, sub, sup, tt,
  9. var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
  10. table, caption, tbody, tfoot, thead, tr, th, td {
  11. margin: 0;
  12. padding: 0;
  13. border: 0;
  14. outline: 0;
  15. font-weight: inherit;
  16. font-style: inherit;
  17. font-size: 100%;
  18. font-family: inherit;
  19. vertical-align: baseline;
  20. }
  21. :focus {outline: 0;}
  22. a, a:link, a:visited, a:hover, a:active{text-decoration:none}
  23. table { border-collapse: separate;border-spacing: 0;}
  24. th, td {text-align: left; font-weight: normal;}
  25. img, iframe {border-style: none;
  26. border-color: inherit;
  27. border-width: medium;
  28. text-decoration:none;
  29. }
  30. ol, ul {list-style: none;}
  31. input, textarea, select, button {font-size: 100%;font-family: inherit;}
  32. select {margin: inherit;}
  33. hr {margin: 0;padding: 0;border: 0;color: #000;background-color: #000;height: 1px}

Report this snippet  

You need to login to post a comment.