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.
我的文本当前位于按钮下方,尽管使用边距和填充,但我无法使其居中
http://jsfiddle.net/9b9at/
我希望他们居中
把你的文字粘在 a<span>中,float:然后添加一些line-height:
<span>
float:
line-height:
http://jsfiddle.net/9b9at/2/