淘宝装修,不支持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="width: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="width: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