DIV CSS 佈局教程網

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

  1. Html,body,div,span,applet,object,iframe,table,caption,
  2. tbody,tfoot,thead,tr,th,td,del,dfn,em,font,img,ins,
  3. kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,
  4. h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,
  5. acronym,address,big,cite,code,dl,dt,dd,ol,ul,li,
  6. fIEldset,form,label,legend{
  7. vertical-align:baseline;
  8. font-family:inherit;
  9. font-weight:inherit;
  10. font-style:inherit;
  11. font-size:100%;
  12. outline:0;
  13. padding:0;
  14. margin:0;
  15. border:0;
  16. }
  17. :focus{
  18. outline:0;
  19. }
  20. body{
  21. background:white;
  22. line-height:1;
  23. color:black;
  24. }
  25. ol,ul{
  26. list-style:none;
  27. }
  28. table{
  29. border-collapse:separate;
  30. border-spacing:0;
  31. }
  32. caption,th,td{
  33. font-weight:normal;
  34. text-align:left;
  35. }
  36. blockquote:before,blockquote:after,q:before,q:after{
  37. content:"";
  38. }
  39. blockquote,q{
  40. quotes:"""";
  41. }

TantekCelikReset CSS

  1. :link,:visited{text-decoration:none}
  2. ul,ol{list-style:none}
  3. h1,h2,h3,h4,h5,h6,pre,code{font-size:1em;}
  4. ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,Html,p,blockquote,fIEldset,input
  5. {margin:0;padding:0}
  6. aimg,:linkimg,:visitedimg{border:none}
  7. address{font-style:normal}

ChristianMontoyaResetCSS

  1. Html,body,form,fIEldset{
  2. margin:0;
  3. padding:0;
  4. font:100%/120%Verdana,Arial,Helvetica,sans-serif;
  5. }
  6. h1,h2,h3,h4,h5,h6,p,pre,
  7. blockquote,ul,ol,dl,address{
  8. margin:1em0;
  9. padding:0;
  10. }
  11. li,dd,blockquote{
  12. margin-left:1em;
  13. }
  14. formlabel{
  15. cursor:pointer;
  16. }
  17. fIEldset{
  18. border:none;
  19. }
  20. input,select,textarea{
  21. font-size:100%;
  22. font-family:inherit;
  23. }
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved