手机网站中的白线 [英] White line in mobile website
本文介绍了手机网站中的白线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在移动网站上看到一条白线(正在使用Google Chrome/Safari浏览器进行测试).在x轴上有重复的背景图像,其元素设置的背景色相同.
I am seeing a white line in mobile website (testing with Google Chrome / Safari). There is a background image repeated on the x-axis with the background color for the element set the same.
此div也没有边界.该行位于#header div的顶部.
Also there are no borders involved with this div. The line is on the top of the #header div.
#header {
height: 130px;
line-height: 112px;
position: relative;
background: #f6a72d url('images/bg.png') repeat-x top;
}
查看网站: http://www.no11.ee/ooker
可能是什么问题?
推荐答案
通过向div添加margin-bottom:-1px解决了问题.
Issue resolved with adding margin-bottom:-1px to the div.
这篇关于手机网站中的白线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文