一个奇怪的框突然出现在我的网站背景中link .
Image http://i1350.photobucket.com/albums/p769/Stonecold_Stone/page_zps0c289fe8.png
Firebug 将其识别为 <pre id="line1"><span>
它似乎导致了一些 validation errors也像:
Element div not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
我认为通过删除 ID line1
可以轻松解决问题,但我搜索了 CSS 文件,没有名为“line1”的 ID。
最佳答案
这是因为 pre 标签检查下面的图片
你可以通过将它添加到你的样式中来修复它
选项:1
#line1{
background: transparent!important;
border: 1px solid transparent!important;
}
或搜索那个前置标签并关闭它
选项:2
<pre id=line1> </pre>
选项:3
转到 第 129 行上的 style.css
并编辑它
这就是所有 cooolll 网页 :-)
关于css - 如何摆脱我页面上的这个奇怪的框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18420373/