我有一个我一直在使用的网站,并且在 Firefox 中,页面顶部的 div 由于某种原因没有显示,但它在 Chrome 中显示!
有问题的 div 是
<div id="top-header"></div>
#top-header {
background-image: url(assets/images/theme/bg-top.jpg);
background-position: left top;
background-repeat: repeat-x;
height: 20px;
}
它有一个背景图像和一个设定的高度,并且在一个容器 div 中。好像有浮动问题?但我已经尝试清除它。
任何帮助表示赞赏!