Guest User

Untitled

a guest
Jul 21st, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. /* short method & less code */
  2. *{
  3. margin:0;
  4. padding:0;
  5. border:0;
  6. }
  7.  
  8.  
  9. Maybe this is a more complete one?
  10.  
  11. /* reset */
  12. html, body, div, span, object, iframe,
  13. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  14. abbr, address, cite, code,
  15. del, dfn, em, img, ins, kbd, q, samp,
  16. small, strong, sub, sup, var,
  17. b, i,
  18. dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead,
  19. article, aside, canvas, details, figcaption, figure,
  20. footer, header, hgroup, menu, nav, section, summary,
  21. time, mark, audio, video {
  22. margin:0;
  23. padding:0;
  24. border:0;
  25. outline:0;
  26. font-size:100%;
  27. vertical-align:baseline;
  28. background:transparent;
  29. }
  30.  
  31. table, tr, th, td{
  32. margin:0;
  33. padding:0;
  34. border:0;
  35. outline:0;
  36.  
  37. }
  38.  
  39. body {
  40. line-height:1;
  41. }
  42. article,aside,details,figcaption,figure,
  43. footer,header,hgroup,menu,nav,section {
  44. display:block;
  45. }
  46.  
  47. nav ul {
  48. list-style:none;
  49. }
  50. blockquote, q {
  51. quotes:none;
  52. }
  53.  
  54. blockquote:before, blockquote:after,
  55. q:before, q:after {
  56. content:”;
  57. content:none;
  58. }
  59.  
  60. a {
  61. margin:0;
  62. padding:0;
  63. font-size:100%;
  64. vertical-align:baseline;
  65. background:transparent;
  66. }
  67.  
  68. /* change colours to suit your needs */
  69. ins {
  70. background-color:#ff9;
  71. color:#000;
  72. text-decoration:none;
  73. }
  74. /* change colours to suit your needs */
  75. mark {
  76. background-color:#ff9;
  77. color:#000;
  78. font-style:italic;
  79. font-weight:bold;
  80. }
  81.  
  82. del {
  83. text-decoration: line-through;
  84. }
  85.  
  86. abbr[title], dfn[title] {
  87. border-bottom:1px dotted;
  88. cursor:help;
  89. }
  90.  
  91. table {
  92. border-collapse:collapse;
  93. border-spacing:0;
  94. }
  95. /* change border colour to suit your needs */
  96. hr {
  97. display:block;
  98. height:1px;
  99. border:0;
  100. border-top:1px solid #cccccc;
  101. margin:1em 0;
  102. padding:0;
  103. }
  104.  
  105. input, select {
  106. vertical-align:middle;
  107. }
Add Comment
Please, Sign In to add comment