0

我正在玩基于骨架的响应式 wordpress 主题,并遇到了一个烦人的问题。一个细的蓝色水平条出现在屏幕顶部,它的高度不能超过 15-18px 左右,并且具有绝对定位,因为即使向下滚动它也会保持在页面顶部。我已经使用了 chrome 和 firefox(带有 firebug)来找出它的来源,但无济于事,它没有显示在 css 或源代码中。有没有其他人经历过这种情况或知道为什么会这样?

NB 它出现在所有浏览器 IE、Chrome 和 FF 中。网址: http: //www.produceme.co.nz/

在此处输入图像描述

4

2 回答 2

2

您看到的蓝色背景来自您的 css,您可能有这个:

background:#fcfcfc url(.../images/border_top.png)

在你的身体风格,所以只要找到它并删除它,你很高兴去。

于 2012-07-04T23:27:53.470 回答
0

错误在http://www.produceme.co.nz/?get_styles=css第 1 行。

您定义了以下内容

body
{
    background: #fcfcfc url(http://www.produceme.co.nz/wp-content/themes/skeleton/images/border_top.png) repeat-x top center fixed;
    color: #444444;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

背景 URL 是添加它的部分。删除该值,它会为您修复它。

于 2012-07-05T01:30:07.170 回答