需要设置div的height,line-height 为一样的值,如下所示:

<div class="ui-bar ui-bar-e" style="height: 30px; line-height:30px;text-align:center;">
   <strong>名称</strong>
</div>

相关文章:

  • 2021-06-01
  • 2021-06-13
  • 2021-07-12
  • 2022-12-23
  • 2021-11-13
  • 2021-04-06
  • 2021-12-10
猜你喜欢
  • 2021-09-17
  • 2021-11-05
  • 2021-07-31
  • 2021-10-15
  • 2021-08-25
  • 2021-07-12
  • 2021-09-15
相关资源
相似解决方案