旺鋪裝修版塊件空白間隙怎么去除?
發表日期:2015-07-30 11:10?? 文章編輯:350模板官網小編 ?? 瀏覽次數:
旺鋪裝修版塊件空白間隙怎么去除?
下面是小編去收集的方法,經過自己的體檢過后給大家分享出來,該怎么取用代碼去除空白的部分:
比如說海報圖片尺寸為1920×600。網上搜了一個全屏代碼,可以使用。由于我是做首頁(圖片比較長)。一旦發布后,就把其他的頁面遮擋掉了,各位大俠有遇到這樣的情況嗎?該怎么解決呢。
下面是小編去收集的方法,經過自己的體檢過后給大家分享出來,該怎么取用代碼去除空白的部分:
比如說海報圖片尺寸為1920×600。網上搜了一個全屏代碼,可以使用。由于我是做首頁(圖片比較長)。一旦發布后,就把其他的頁面遮擋掉了,各位大俠有遇到這樣的情況嗎?該怎么解決呢。
不藏私(代碼分享給大家):
淘寶店鋪裝修如果想實現全屏輪播可以直接使用我們的全屏輪播在線制作功能即可,今天要給大家分享的是任何1920px的代碼或者1920px的圖片都可以放在950自定義模塊中實現1920全屏展示。(本站的圖片素材中的全套PSD模板經過PS切片后,得到的代碼都可以通過該功能實現。)
實現這個功能要用到以下代碼,
<div class="tb-module">
<div class="tanchudiv" style="height: 130px">
<div class="footer-more-trigger mui-display-none" style="z-index: 99; border-bottom: 0px; border-left: 0px; padding-bottom: 0px; padding-left: 0px; width: 1920px; padding-right: 0px; height: 130px; visibility: visible; border-top: 0px; top: auto; border-right: 0px; padding-top: 0px; left: 50%">
<div class="footer-more-trigger mui-display-none" style="z-index: 99; border-bottom: 0px; border-left: 0px; padding-bottom: 0px; padding-left: 0px; width: 1920px; padding-right: 0px; height: 130px; visibility: visible; border-top: 0px; top: auto; border-right: 0px; padding-top: 0px; left: -75%">
<div class="footer-more-trigger mui-display-none" style="border-bottom: 0px; border-left: 0px; padding-bottom: 0px; padding-left: 0px; width: 1920px; padding-right: 0px; height: 130px; visibility: visible; border-top: 0px; top: 0px; border-right: 0px; padding-top: 0px; left: -100px">
<div style="margin: 0px auto; width: 950px">
<!-- 以下是自己的代碼 -->
在這里輸入要實現的代碼或圖片。如果只是圖片要寫成這樣的格式: <p> <img src="圖片地址" /></p>
<!-- 以上是自己的代碼 -->
</div>
</div>
</div>
</div>
</div>
</div>
如果發現實現后的全屏效果不居中,請能過上面代碼中紅色數字來調整。
以上就是小編的分享,大家快去試試吧
以上就是小編的分享,大家快去試試吧
標簽: ? ?
如沒特殊注明,文章均為350模板官網原創,轉載請注明來自http://www.eesewex8.cn//zxzs/241.html