Your Ad Here

Posted By

jaymanpandya on 06/24/10


Tagged

css browser reset


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

d55beck


Important Browser Reset style rules...


 / Published in: CSS
 

Important Browser Reset style rules...

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: PhunkRabbit on June 24, 2010

Isnt this just the Eric Meyer reset script? Without his comments ofcourse ;)

Posted By: jaymanpandya on August 12, 2010

Yes... I have uploaded this for my reference to get it from anywhere as i keep on moving from places and computers while i work... This site is handy to help you keep your code at your hands length at any time...

You need to login to post a comment.