出于某种原因,我的一个元素上出现了一条奇怪的白线。
这是它的样子:
它就在左侧的介绍旁边。
我查看了代码,似乎找不到它
我不知道问题出在哪里,所以我不能发布任何代码。
出于某种原因,我的一个元素上出现了一条奇怪的白线。
这是它的样子:
它就在左侧的介绍旁边。
我查看了代码,似乎找不到它
我不知道问题出在哪里,所以我不能发布任何代码。
该行来自一个span.arrow_right
.
就是这段 HTML:
<span class="arrow_right"></span>
所有的答案都很棒!然而,事实证明我一直用逗号阻止部分代码
这:
/* Title Right ----------------------------*/
.title_right, .title_right_services_page h3{
color: #bd2d67;
padding: 0;
}
.title_right, .title_right_services_page h1{
line-height: 45px;
}
.title_right, .title_right_services_page p{
color: #777;
font-size: 21px;
line-height: 30px;
font-weight: 200;
}
.title_right_services_page{
border-left: 2px solid #cdcdcd;
position: relative;
text-align: right;
padding:0 0 30px 1%;
}
.title_right,{
border-left: 2px solid #cdcdcd;
position: relative;
text-align: right;
padding:0 0 30px 1%;
}
.arrow_right{
background: url("../img/arrow_right.png") no-repeat center;
position: absolute;
width: 53px;
height: 49px;
left: -40px;
top: 40%;
}
.arrow_rightb{
background: url("../img/arrow_rightb.png") no-repeat center;
position: absolute;
width: 53px;
height: 49px;
left: -40px;
top: 40%;
}
对此:
/* Title Right ----------------------------*/
.title_right h3{
color: #bd2d67;
padding: 0;
}
.title_right h1{
line-height: 45px;
}
.title_right p{
color: #777;
font-size: 21px;
line-height: 30px;
font-weight: 200;
}
.title_right{
border-left: 2px solid #cdcdcd;
position: relative;
text-align: right;
padding:0 0 30px 1%;
}
这解决了它!
谢谢大家
丹佛