Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想垂直对齐按钮。放置在 ul 标记内的是我的代码http://jsfiddle.net/degHp/ ...我希望中间按钮垂直居中,并且按钮内的文本垂直居中 ..任何人都可以帮助我吗?
这就是我所做的。
display:block
vertical-align:middle
line-height
margin-top:10px
http://jsfiddle.net/degHp/8/