Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何识别该元素?_Html_Css - Fatal编程技术网

Html 如何识别该元素?

Html 如何识别该元素?,html,css,Html,Css,在我的网站上,每一篇博文的底部都有两条灰线(在主索引中也是1条) 我使用“检查”功能找不到它们--如何删除它们 示例帖子: 该站点正在使用CSS伪代码。比如:之前和之后。它是一个CSS属性,关注标记的开始和结束。例如在网站上 #jp-relatedposts h3.jp-relatedposts-headline em:before{ content: ""; display: block; width: 100%; min-width: 30px; bo

在我的网站上,每一篇博文的底部都有两条灰线(在主索引中也是1条)

我使用“检查”功能找不到它们--如何删除它们

示例帖子:


该站点正在使用CSS伪代码。比如:之前和之后。它是一个CSS属性,关注标记的开始和结束。例如在网站上

#jp-relatedposts h3.jp-relatedposts-headline em:before{
    content: "";
    display: block;
    width: 100%;
    min-width: 30px;
    border-top: 1px solid #ddd;
    border-top: 1px solid rgba(0,0,0,.2);
    margin-bottom: 1em;
}
把那条线移走。只需删除
边框顶部样式
,或使其
显示无
。希望我说的是对的

#jp-relatedposts h3.jp-relatedposts-headline em:before{
    content: "";
    display: none;
    width: 100%;
    min-width: 30px;
    margin-bottom: 1em;
}
将这些行添加到样式表中

.blog .hentry, .archive .hentry, .single-post .hentry {
    border-bottom: 0px !important;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before {
    border-top: 0px !important;
}