CSS全局样式:

不念不忘少年蓝@ 2022-12-28 01:46 231阅读 0赞
  1. @charset "utf-8";
  2. * {
  3. margin:0; padding:0;
  4. }
  5. * html body {
  6. overflow:visible;
  7. }
  8. * html iframe, * html frame {
  9. overflow:auto
  10. }
  11. * html frameset {
  12. overflow:hidden;
  13. }
  14. body {
  15. color:#000;
  16. background:#FFF;
  17. font-family: Verdana, Arial, sans-serif;
  18. font-size: 12px;
  19. text-align:center;
  20. width:960px;
  21. }
  22. body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, table, td, img, div, tr {
  23. margin:0 auto;
  24. padding:0;
  25. }
  26. input, select {
  27. font-size:12px;
  28. vertical-align:middle;
  29. }
  30. body div {
  31. text-align:left;
  32. }
  33. textarea, input {
  34. word-wrap:break-word;
  35. word-break:break-all;
  36. padding:0px;
  37. }
  38. li {
  39. list-style-type:none;
  40. }
  41. img {
  42. border:0 none;
  43. }
  44. a {
  45. olor:#000;
  46. text-decoration:none;
  47. }
  48. a:hover {
  49. color:#628828;
  50. }
  51. a {
  52. outline:none;
  53. star:expression_r(this.onFocus=this.blur());
  54. }
  55. h1 {
  56. font-size:24px;
  57. }
  58. h2 {
  59. font-size:20px;
  60. }
  61. h3 {
  62. font-size:18px;
  63. }
  64. h4 {
  65. font-size:16px;
  66. }
  67. h5 {
  68. font-size:14px;
  69. }
  70. h6 {
  71. font-size:12px;
  72. }
  73. .pointer {
  74. cursor:pointer;
  75. }
  76. .NoBorder {
  77. border:0 none;
  78. }
  79. .NoPadding {
  80. padding:0;
  81. }
  82. .t_a {
  83. text-align:centert; /*值:right,left,center*/
  84. }
  85. .Break {
  86. word-break:break-all;
  87. word-wrap:break-word;
  88. }
  89. .Nobreak {
  90. word-break:keep-all;
  91. word-wrap:normal;
  92. }
  93. .FT {
  94. float:left; /*值:right,left*/
  95. }
  96. .TD {
  97. text-decoration:underline; /*值:underline,none*/
  98. }
  99. .DisunLine {
  100. text-decoration:none;
  101. }
  102. .absolute {
  103. position:absolute;
  104. }
  105. .relative {
  106. position:relative;
  107. }
  108. .wrapper {
  109. clear:both;
  110. overflow:hidden;
  111. }
  112. .invisible {
  113. visibility:hidden;
  114. }
  115. .hidden {
  116. display:none; /*值:none,block*/
  117. }
  118. .clear {
  119. clear:both;
  120. height:0px;
  121. width:100%;
  122. font-size:1px;
  123. line-height:0px;
  124. visibility:hidden;
  125. overflow:hidden;
  126. }
  127. .FW {
  128. font-weight:bold;/* 值:bold,normal*/
  129. }
  130. .FI {
  131. font-style:italic;
  132. }
  133. .F10 {
  134. font-size:10px;
  135. }
  136. .DivH5, .DivH10, .DivH15, .DivH20, .DivH25, .DivH30, .DivH1, .DivH40 {
  137. width:100%;
  138. overflow:hidden;
  139. }
  140. .DivH1 {
  141. height:1px;
  142. }
  143. .color_green {
  144. color:#85c226;
  145. }

发表评论

表情:
评论列表 (有 0 条评论,231人围观)

还没有评论,来说两句吧...

相关阅读