CSS : Reset CSS


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



Copy this code and paste it in your HTML
  1. /* Reset default style
  2. -----------*/
  3.  
  4. body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  5. margin: 0;
  6. padding: 0;
  7. }
  8. table {
  9. border-collapse: collapse;
  10. border-spacing: 0;
  11. }
  12. fieldset, img {
  13. border: 0;
  14. }
  15. address, caption, cite, code, dfn, em, strong, th, var {
  16. font-style: normal;
  17. font-weight: normal;
  18. }
  19. ol, ul {
  20. list-style: none;
  21. text-indent: 0;
  22. }
  23. caption, th {
  24. text-align: left;
  25. }
  26. h1, h2, h3, h4, h5, h6 {
  27. font-size: 100%;
  28. font-weight: normal;
  29. }
  30. q:before, q:after {
  31. content: '';
  32. }
  33. abbr, acronym {
  34. border: 0;
  35. }
  36. a{
  37. text-decoration: none;
  38. outline : none; /* enl�¨ve les pointill�©s sous firefox lorsqu'un lien est cliqu�© */
  39. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.