【问题标题】:How can I lineup my text and my button in the following example?如何在以下示例中排列我的文本和按钮?
【发布时间】:2012-05-01 18:50:48
【问题描述】:

我的文本当前位于按钮下方,尽管使用了边距和填充,但我无法使其居中

http://jsfiddle.net/9b9at/

我希望它们居中

【问题讨论】:

    标签: html css twitter-bootstrap


    【解决方案1】:

    把你的文字贴在<span>float:它并添加一些line-height:

    http://jsfiddle.net/9b9at/2/

    【讨论】:

      猜你喜欢
      • 2014-06-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多