使用了element ui的布局,这段代码在html页面是显示正确的,放到element ui中就出现了异常的上边距,有没有大佬遇到过这个问题?
aaa
<hr align=center width=500px color=#987cb9 SIZE=1>
<div class="infofont">
<span class="fontx">aaa</span>
</div>
<hr align=center width=500px color=#987cb9 SIZE=1>
<div class="infofont">
<span class="fontx">aaa</span>
</div>
<hr align=center width=500px color=#987cb9 SIZE=1>
</div>
```.info{
border:2px solid #F00;
width: 700px;
padding: 0;
margin: 0;
height: auto;
}
.infofont{
border:2px solid #01d40d;
height: 30px;
text-align: center;
padding-top: 15px;
}