CSS Browser reset


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



Copy this code and paste it in your HTML
  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p,
  3. blockquote, pre, a, abbr, acronym, address, big,
  4. cite, code, del, dfn, em, font, img,
  5. ins, kbd, s, samp, small, strike,
  6. strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend,
  8. table, caption, tbody, tfoot, thead, tr, th, td,
  9. center, u, b, i {
  10. margin: 0;
  11. padding: 0;
  12. border: 0;
  13. outline: 0;
  14. vertical-align: baseline
  15. }
  16.  
  17. :focus {
  18. outline: 0
  19. }
  20.  
  21. ol, ul {
  22. list-style: none
  23. }
  24.  
  25. table {
  26. border-collapse: collapse;
  27. border-spacing: 0
  28. }
  29.  
  30.  
  31. input, textarea {
  32. margin: 0;
  33. padding: 0;
  34. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.