求助,CSS <P><br>的段落间距 30
代码如下:p{margin-top:5pt;margin-bottom:5pt;}body{font-size:10.5pt;font-family:Candara;li...
代码如下:
p{
margin-top: 5pt;
margin-bottom: 5pt;
}
body {
font-size: 10.5pt;
font-family: Candara;
line-height: 17.25pt;
text-decoration: none;
text-align: left;
margin-top: 5pt;
}
<p>之间的段落间距是margin控制的,<br>的间距是line-height,变成下面那样以后,margin定义的5pt就失效了,为什么??
body {
font-size: 10.5pt;
font-family: Candara;
line-height: 17.25pt;
text-decoration: none;
text-align: left;
margin-top: 5pt;
margin-bottom: 5pt;
} 展开
p{
margin-top: 5pt;
margin-bottom: 5pt;
}
body {
font-size: 10.5pt;
font-family: Candara;
line-height: 17.25pt;
text-decoration: none;
text-align: left;
margin-top: 5pt;
}
<p>之间的段落间距是margin控制的,<br>的间距是line-height,变成下面那样以后,margin定义的5pt就失效了,为什么??
body {
font-size: 10.5pt;
font-family: Candara;
line-height: 17.25pt;
text-decoration: none;
text-align: left;
margin-top: 5pt;
margin-bottom: 5pt;
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询