DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> CSS入門知識 >> CSS詳解 >> 主流浏覽器CSS Reset的方法(4)
主流浏覽器CSS Reset的方法(4)
編輯:CSS詳解     
RudeworksResetCSS

  1. *{
  2. margin:0;
  3. padding:0;
  4. border:none;
  5. }
  6. Html{
  7. font:62.5%"LucidaGrande",Lucida,Verdana,sans-serif;
  8. text-shadow:#0000px0px0px;
  9. }
  10. ul{
  11. list-style:none;
  12. list-style-type:none;
  13. }
  14. h1,h2,h3,h4,h5,h6,p,pre,
  15. blockquote,ul,ol,dl,address{
  16. font-weight:normal;
  17. margin:001em0;
  18. }
  19. cite,em,dfn{
  20. font-style:italic;
  21. }
  22. sup{
  23. position:relative;
  24. bottom:0.3em;
  25. vertical-align:baseline;
  26. }
  27. sub{
  28. position:relative;
  29. bottom:-0.2em;
  30. vertical-align:baseline;
  31. }
  32. li,dd,blockquote{
  33. margin-left:1em;
  34. }
  35. code,kbd,samp,pre,tt,var,input[type='text'],textarea{
  36. font-size:100%;
  37. font-family:monaco,"LucidaConsole",courIEr,mono-space;
  38. }
  39. del{
  40. text-decoration:line-through;
  41. }
  42. ins,dfn{
  43. border-bottom:1pxsolid#ccc;
  44. }
  45. small,sup,sub{
  46. font-size:85%;
  47. }
  48. abbr,acronym{
  49. text-transform:uppercase;
  50. font-size:85%;
  51. letter-spacing:.1em;
  52. border-bottom-style:dotted;
  53. border-bottom-width:1px;
  54. }
  55. aabbr,aacronym{
  56. border:none;
  57. }
  58. sup{
  59. vertical-align:super;
  60. }
  61. sub{
  62. vertical-align:sub;
  63. }
  64. h1{
  65. font-size:2em;
  66. }
  67. h2{
  68. font-size:1.8em;
  69. }
  70. h3{
  71. font-size:1.6em;
  72. }
  73. h4{
  74. font-size:1.4em;
  75. }
  76. h5{
  77. font-size:1.2em;
  78. }
  79. h6{
  80. font-size:1em;
  81. }
  82. a,a:link,a:visited,a:hover,a:active{
  83. outline:0;
  84. text-decoration:none;
  85. }
  86. aimg{
  87. border:none;
  88. text-decoration:none;
  89. }
  90. img{
  91. border:none;
  92. text-decoration:none;
  93. }
  94. label,button{
  95. cursor:pointer;
  96. }
  97. input:focus,select:focus,textarea:focus{
  98. background-color:#FFF;
  99. }
  100. fIEldset{
  101. border:none;
  102. }
  103. .clear{
  104. clear:both;
  105. }
  106. .float-left{
  107. float:left;
  108. }
  109. .float-right{
  110. float:right;
  111. }
  112. body{
  113. text-align:center;
  114. }
  115. #wrapper{
  116. margin:0auto;
  117. text-align:left;
  118. }
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved