html代码
40
收藏
css代码
.favorite-box{
padding:15px 20px 0;
}
.favorite-list{
padding: 10px 0;
border-bottom: 1px solid #eee;
}
.favorite-count{
width:45px;
height:43px;
float: left;
text-align:center;
margin-right:-45px;
}
.favs{
padding-top: 3px;
width: 45px;
height: 40px;
border-radius: 1px;
background: #f0f5f3;
color: #017e66;
font-size:16px;
line-height: 1.2;
}
.favorite-count small{
display:block;
font-size:12px;
}
.favorite-content{
margin-left:55px;
}
.favorite-article-title{
font-weight: 500;
line-height:16px;
}
.favorite-article-title a{
color: #333;
font-size:14px;
}
为什么p标签控制器不了其子a标签的内容的
而且h2标签下的a标签英文内容会超出容器的范围,不换行
这是怎么回事