reset.css 976 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. html{
  2. color:#000;
  3. background:#FFF;
  4. }
  5. body,
  6. div,
  7. dl,
  8. dt,
  9. dd,
  10. ul,
  11. ol,
  12. li,
  13. h1,
  14. h2,
  15. h3,
  16. h4,
  17. h5,
  18. h6,
  19. pre,
  20. code,
  21. form,
  22. fieldset,
  23. legend,
  24. input,
  25. textarea,
  26. p,
  27. blockquote,
  28. th,
  29. td {
  30. margin:0;
  31. padding:0;
  32. }
  33. table {
  34. border-collapse:collapse;
  35. border-spacing:0;
  36. }
  37. fieldset,
  38. img {
  39. border:0;
  40. }
  41. address,
  42. caption,
  43. cite,
  44. code,
  45. dfn,
  46. em,
  47. strong,
  48. th,
  49. var {
  50. font-style:normal;
  51. font-weight:normal;
  52. }
  53. ol,
  54. ul {
  55. list-style:none;
  56. }
  57. caption,
  58. th {
  59. text-align:left;
  60. }
  61. h1,
  62. h2,
  63. h3,
  64. h4,
  65. h5,
  66. h6 {
  67. font-size:100%;
  68. font-weight:normal;
  69. }
  70. q:before,
  71. q:after {
  72. content:'';
  73. }
  74. abbr,
  75. acronym {
  76. border:0;
  77. font-variant:normal;
  78. }
  79. sup {
  80. vertical-align:text-top;
  81. }
  82. sub {
  83. vertical-align:text-bottom;
  84. }
  85. input,
  86. textarea,
  87. select {
  88. font-family:inherit;
  89. font-size:inherit;
  90. font-weight:inherit;
  91. }
  92. /*to enable resizing for IE*/
  93. input,
  94. textarea,
  95. select {
  96. *font-size:100%;
  97. }
  98. /*because legend doesn't inherit in IE */
  99. legend {
  100. color:#000;
  101. }