列表 li 中的文字无法垂直居中

原因:除了要设置 vertical-align: middle;外还必须设置行高 line-height:34px;否则默认行高为字符高度

原文地址:https://www.cnblogs.com/carl2380/p/2515217.html