简体   繁体   English

页面上有灰线,边框似乎在我似乎找不到的顶部/底部

[英]Grey line on page, border top/bottom somewhere that I can't seem to find

working on a site at the minute and have a part really annoying me, there seems to be a fixed position element with a border top/bottom set on it that results in a horizontal grey line on the page. 当时正在某个网站上工作,并且确实让我感到烦恼,似乎有一个固定的位置元素,上面有一个上下边框,导致页面上出现水平灰线。 I've tried finding it with inspect element etc but am having trouble identifying it, can anyone help out? 我试着用检查元素等找到它,但是在识别它时遇到了麻烦,有人可以帮忙吗?

Example here. 这里的例子

EDIT: Url 编辑:网址

它是div#bs-example-navbar-collapse-1之后的<hr>元素

There is a <hr> tag right after the closing of this tag <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> the comment above the div is "Collect the nav links, forms, and other content for toggling". 该标签关闭后<hr>是一个<hr>标签<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> div上方的注释是“收集导航链接,表格和其他可切换的内容”。 Delete that, grey line goes away. 删除它,灰线消失。 That is if that's the grey line you're talking about :) 那就是你在说的灰线:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM