• 游览器内核默认css样式


    只写经常用到的元素

     

     zoom为ie专有属性

    标签
    类型
    IE6
    IE7
    IE8
    IE9
    webkit
    gecko
    html
     

      overflow-x: auto;

      overflow-yscroll;

       zoom1;

      display: block;zoom1;    
    body
        displayblock;
      margin15px 10px;
      zoom1;
      displayblock;
      margin8px;
       zoom1;

        display: block;

        margin: 8px

     

    display: block;

    margin: 8px;

    h1
        displayblock;
    font-size24pt;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size2em;
    font-weightbold;
    margin0.67em 0;
    page-break-afteravoid;
     
        display: block;
        font-size: 2em;
        margin: .67__qem 0 .67em 0;
        font-weight: bold
     
      display: block;
      font-size: 2em;
      font-weight: bold;
      margin: .67em 0;
    h2
        displayblock;
    font-size18pt;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size1.5em;
    font-weightbold;
    margin0.83em 0;
    page-break-afteravoid;
     
        display: block;
        font-size: 1.5em;
        margin: .83__qem 0 .83em 0;
        font-weight: bold
     
      display: block;
      font-size: 1.5em;
      font-weight: bold;
      margin: .83em 0;
    h3
        displayblock;
    font-size13.55pt;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size1.17em;
    font-weightbold;
    margin1em 0;
    page-break-afteravoid;
     
        display: block;
        font-size: 1.17em;
        margin: 1__qem 0 1em 0;
        font-weight: bold
     
      display: block;
      font-size: 1.17em;
      font-weight: bold;
      margin: 1em 0;
    h4
        displayblock;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size1em;
    font-weightbold;
    margin1.33em 0;
    page-break-afteravoid;
     
        display: block;
        margin: 1.33__qem 0 1.33em 0;
        font-weight: bold
     
      display: block;
      font-weight: bold;
      margin: 1.33em 0;
    h5
        displayblock;
    font-size10pt;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size0.83em;
    font-weightbold;
    margin1.67em 0;
    page-break-afteravoid;
     
        display: block;
        font-size: .83em;
        margin: 1.67__qem 0 1.67em 0;
        font-weight: bold
     
      display: block;
      font-size: 0.83em;
      font-weight: bold;
      margin: 1.67em 0;
    h6
        displayblock;
    font-size7.55pt;
    font-weightbold;
    margin14pt 0;
      displayblock;
    font-size0.67em;
    font-weightbold;
    margin2.33em 0;
    page-break-afteravoid;
     
        display: block;
        font-size: .67em;
        margin: 2.33__qem 0 2.33em 0;
        font-weight: bold
     
      display: block;
      font-size: 0.67em;
      font-weight: bold;
      margin: 2.33em 0;
    p
        displayblock;   displayblock;
    margin1em 0;
     

    display: block;

    margin: 1.0__qem 0px

     
      display: block;
      margin: 1em 0;
    a
       color#00F;
    text-decorationunderline;
       color#06C;
    text-decorationunderline;
       
    a:visited
          color#800080;    
    span
                 
    em
          font-styleitalic;    
      font-style: italic;
    caption
     
     displayblock;
    padding1px 3px 5px;
    text-aligncenter;
    zoom1;
     displayblock;
    padding1px 300zzz 500zzz;
    text-aligncenter;
    zoom1;
      displaytable-caption;
      text-aligncenter;
     zoom1;
     
        display: table-caption;
        text-align: -webkit-center
     
      display: table-caption;
      text-align: center;
      -moz-box-sizing: border-box;
    ul
        displayblock;
      list-style-imagenone;
      list-style-positionoutside;
      list-style-typedisc;
      margin14pt 0 14pt 30pt;
      displayblock;
      list-style-imagenone;
      list-style-positionoutside;
      list-style-typedisc;
      margin1em 0;
      padding0 0 0 30pt;
     
        display: block;
        list-style-type: disc;
        margin: 1__qem 0 1em 0;
        -webkit-padding-start: 40px
     
     display: block;
      list-style-type: disc;
      margin: 1em 0;
      -moz-padding-start: 40px;
    ol
        displayblock;
    list-style-imagenone;
    list-style-positionoutside;
    list-style-typedecimal;
    margin14pt 0 14pt 30pt;
      displayblock;
    list-style-imagenone;
    list-style-positionoutside;
    list-style-typedecimal;
    margin1em 0;
    padding0 0 0 30pt;
     
        display: block;
        list-style-type: decimal;
        margin: 1__qem 0 1em 0;
        -webkit-padding-start: 40px
     
      display: block;
      list-style-type: decimal;
      margin: 1em 0;
      -moz-padding-start: 40px;
    li
        displayblock;   displaylist-item;  
        display: list-item
     
      display: list-item;
    dl
        displayblock;
    margin14pt 0;
      displayblock;
    margin1em 0;
     
        display: block;
        margin: 1__qem 0 1em 0
     
     display: block;
      margin: 1em 0;
    dt
          displayblock;   
    display: block
     
    dd
     

      display: block;

    margin0 0 0 30pt;

      displayblock;
    margin0 0 0 40px;
     
        display: block;
        -webkit-margin-start: 40px
     
      display: block;
      -moz-margin-start: 40px;
    table
       border-color#D4D0C8;
    displayblock;
    zoom1;
     border-color#F0F0F0;
    displayblock;
    zoom1;
      border-color#F0F0F0;
    border-spacing2px 2px;
    box-sizingborder-box;
    displaytable;
    zoom1;
     
        display: table;
        border-collapse: separate;
        border-spacing: 2px;
        border-color: gray
     
      display: table;
      border-spacing: 2px;
      border-collapse: separate;
      margin-top: 0;
      margin-bottom: 0;
      /* XXXldb do we want this if we're 
    border-collapse:collapse ? */ -moz-box-sizing: border-box; text-indent: 0;
    thead
       border-color#D4D0C8;
    displayblock;
     border-color#F0F0F0;
    displayblock;
      box-sizingborder-box;
    displaytable-header-group;
    vertical-alignmiddle;
     
        display: table-header-group;
        vertical-align: middle;
        border-color: inherit
     
     display: table-header-group;
      vertical-align: middle;
    tbody
       border-color#D4D0C8;
    displayblock;
     border-color#F0F0F0;
    displayblock;

      box-sizing: border-box;display

    table-row-group;vertical-alignmiddle;

     
        display: table-row-group;
        vertical-align: middle;
        border-color: inherit
     
      display: table-row-group;
      vertical-align: middle;
    tfoot
       border-color#D4D0C8;
    displayblock;
     border-color#F0F0F0;
    displayblock;

      box-sizing: border-box;display

    table-footer-group;

    vertical-alignmiddle;

     
        display: table-footer-group;
        vertical-align: middle;
        border-color: inherit
     
      display: table-footer-group;
      vertical-align: middle;
    th
       border-color#D4D0C8;
    displayblock;
    font-weightbold;
    padding1px;
    text-aligncenter;
    zoom1;
     border-color#F0F0F0;
    displayblock;
    font-weightbold;
    padding1px;
    text-aligncenter;
    zoom1;
      displaytable-cell;
    font-weightbold;
    padding1px;
    text-aligncenter;
    vertical-alignmiddle;
    zoom1;
     
        font-weight: bold
        display: table-cell;
        vertical-align: inherit
     
      display: table-cell;
      vertical-align: inherit;
      font-weight: bold;
      padding: 1px;
    tr
       border-color#D4D0C8;
    displayblock;
    zoom1;
     border-color#F0F0F0;
    displayblock;
    zoom1;
      box-sizingborder-box;
    displaytable-row;
    vertical-alignmiddle;
    zoom1;
     
        display: table-row;
        vertical-align: inherit;
        border-color: inherit
     
      display: table-row;
      vertical-align: inherit;
    td
       border-color#D4D0C8;
    displayblock;
    padding1px;
    zoom1;
     border-color#F0F0F0;
    displayblock;
    padding1px;
    zoom1;

      display: table-cell;

      padding1px;

    vertical-alignmiddle;zoom1;

     
        display: table-cell;
        vertical-align: inherit
     
      display: table-cell;
      vertical-align: inherit;
      text-align: inherit; 
      padding: 1px;
     fieldset
        border-stylegroove;
      border-width2px;
      displayblock;
      zoom1;
     border-stylegroove;
    border-width2px;
    displayblock;
    padding0 2px 3px;
    zoom1;
      border-stylegroove;
      border-width2px;
      displayblock;
      margin0 2px;
      padding0 2px 3px;
      zoom1;
     
        display: block;
        margin-left: 2px;
        margin-right: 2px;
        padding: 0.35em 0.75em 0.625em;
        border: 2px groove ThreeDFace
     
    legend
        zoom1;

       padding: 0 2px;

       zoom1;

     
        display: block;
        padding-left: 2px;
        padding-right: 2px;
        border: none
     
     form
        displayblock;
     margin14pt 0;
      displayblock;  
        display: block;
        margin-top: 0__qem
     
     label
               
        cursor: default;
     
    button
       background-color#D4D0C8;
    border-styleoutset;
    border-width2px;
    font-familysans-serif;
    font-size10pt;
    overflowhidden;
    text-aligncenter;
    zoom1;
     background-color#F0F0F0;
    border-width2px;
    font-familysans-serif;
    font-size10pt;
    overflowhidden;
    text-aligncenter;
    zoom1;
      background-color#F0F0F0;
    border-width3px;
    box-sizingborder-box;
    font-familysans-serif;
    font-size10pt;
    overflowhidden;
    padding1px 8px;
    text-aligncenter;
    zoom1;
     
     margin: 0__qem;
        font: -webkit-small-control;
        color: initial;
        letter-spacing: normal;
        word-spacing: normal;
        line-height: normal;
        text-transform: none;
        text-indent: 0;
        text-shadow: none;
        display: inline-block;
        text-align: -webkit-auto;
     
    input
       background-color#FFF;
    border-styleinset;
    border-width2px;
    font-familysans-serif;
    font-size10pt;
    overflowhidden;
    padding1px;
    zoom1;
       background-color#FFF;
    border-width2px;
    font-familysans-serif;
    font-size10pt;
    overflowhidden;
    padding1px;
    zoom1;
     
     margin: 0__qem;
        font: -webkit-small-control;
        color: initial;
        letter-spacing: normal;
        word-spacing: normal;
        line-height: normal;
        text-transform: none;
        text-indent: 0;
        text-shadow: none;
        display: inline-block;
        text-align: -webkit-auto;
     
    textarea
       background-color#FFF;
    border-styleinset;
    border-width2px;
    font-familymonospace;
    font-size10pt;
    overflow-xhidden;
    overflow-yscroll;
    padding1px;
    white-spacepre;
    zoom1;
     background-color#FFF;
    border-width2px;
    font-familymonospace;
    font-size10pt;
    overflow-xhidden;
    overflow-yscroll;
    padding2px;
    white-spacepre;
    zoom1;
      background-color#FFF;
    border-width1px;
    font-familymonospace;
    font-size10pt;
    overflow-xhidden;
    overflow-yscroll;
    padding2px;
    white-spacepre-wrap;
    zoom1;
     
     margin: 0__qem;
        font: -webkit-small-control;
        color: initial;
        letter-spacing: normal;
        word-spacing: normal;
        line-height: normal;
        text-transform: none;
        text-indent: 0;
        text-shadow: none;
        display: inline-block;
        text-align: -webkit-auto;
     -webkit-appearance: textarea;
        background-color: white;
        border: 1px solid;
        -webkit-rtl-ordering: logical;
        -webkit-user-select: text;
        -webkit-box-orient: vertical;
        resize: auto;
        cursor: auto;
        padding: 2px;
        white-space: pre-wrap;
        word-wrap: break-word;
     
     img
          zoom1;    
                   

     

     单单一个IE系列,就有那么多不同,就需要重置css了,但是,还是要根据需要来重置css样式

    参考资料网站:

    http://www.linxz.de/brower/webkit_html.css

    http://www.linxz.de/brower/gecko_html.css

    http://www.w3cfuns.com/topic-12.html

  • 相关阅读:
    自然语言理解——NLP中的形式语言自动机
    自然语言理解——数学基础
    自然语言理解——introduction
    网络挖掘技术——association rule
    网络挖掘技术——Recommendation
    网络挖掘技术——微博文本特征提取
    网络挖掘技术——text mining
    语音交互技术——语音编码
    语音交互技术——线性预测编码(LPC)
    语音交互技术——语音信号特征提取
  • 原文地址:https://www.cnblogs.com/yyman001/p/2712998.html
Copyright © 2020-2023  润新知