css - 如何摆脱我页面上的这个奇怪的框?

标签 css validation firebug html

一个奇怪的框突然出现在我的网站背景中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 网页 :-)

enter image description here

关于css - 如何摆脱我页面上的这个奇怪的框?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18420373/

相关文章:

javascript - 验证 JS 中开放时间之间的日期

用于验证元素值和复选框的 Javascript

html - 奇怪的 HTML 错误(停止包含 CSS 和 JS 文件)

html - 径向渐变椭圆无法正常工作

jquery - CSS - 动画列表顺序

jquery - 问题导航幻灯片

php - 如何在方框下方显示时间和日期,例如 facebook 或 wordpress 帖子?

javascript - 如何验证仅通过 JavaScript 正则表达式输入的字母和空格

debugging - Wireshark、Firebug、Fiddler - 优缺点?

firebug - 为什么Firebug在页面刷新时消失?