zoukankan      html  css  js  c++  java
  • 天猫装修-全屏代码,和去掉10px

    淘宝装修,不支持float,和position属性

    全屏代码

    <div style="height:685px;">
      <div style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;top:auto;left:50%;" class="sn-simple-logo">
        <div style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;top:auto;left:-960px;" class="sn-simple-logo">
          <div style="1920px;">
            <table border="0" cellspacing="0" cellpadding="0" width="1920" height="685">
              <tbody>
              </tbody>
              <tbody>
                <tr>
                  <td><img style="margin:0px;float:none;" border="0" alt="" width="1920" height="685" src="http://img02.taobaocdn.com/imgextra/i2/2090040020/TB23yOIbFXXXXa5XpXXXXXXXXXX_!!2090040020.jpg"></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>

    去掉10px

    <div style="height:685px;">
      <div style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;top:auto;left:50%;" class="sn-simple-logo">
        <div style="padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;top:-20px;left:-960px;" class="sn-simple-logo">
          <div style="1920px;">
            <table border="0" cellspacing="0" cellpadding="0" width="1920" height="685">
              <tbody>
              </tbody>
              <tbody>
                <tr>
                  <td><img style="margin:0px;float:none;" border="0" alt="" width="1920" height="685" src="http://img02.taobaocdn.com/imgextra/i2/2090040020/TB23yOIbFXXXXa5XpXXXXXXXXXX_!!2090040020.jpg"></td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>

    总结:

    1.sn-simple-logo 内涵一个position:absolute 属性

    2.top:20px

  • 相关阅读:
    黑域,黑阈 Permission denied
    手机闪存速度测试工具,AndroBench
    找进程的窗口Handle
    nginx http 正向代理
    windows命令行netstat 统计连接数
    FLIR ONE PRO热成像仪
    python2.0_s12_day14_jQuery详解
    python2.0_s12_day13_javascript&Dom&jQuery
    ssh&scp指定密钥
    apache+php生产环境错误记录
  • 原文地址:https://www.cnblogs.com/wesky/p/4904614.html
Copyright © 2011-2022 走看看