【问题标题】:twitter bootstrap margin-left -20px issuetwitter bootstrap margin-left -20px 问题
【发布时间】:2013-07-31 02:28:09
【问题描述】:

我在我的网页 http://scrapp.site90.com/ 上使用 twitter bootstrap 时遇到问题。标头被包裹在容器中并且周围有 .row ,但似乎由于 margin-left: -20px 此行无法与其他内容对齐。有可能修复它吗?我试图改变 margin-left 的值,但是布局变得非常混乱。

【问题讨论】:

  • 不确定您的意思。在我的 ff 和 chrome 中似乎很好
  • 您的网站地址要求提供验证码..人们可能会不愿意访问它。请检查该问题。

标签: html css twitter-bootstrap


【解决方案1】:

您可以在H1 上使用pull-left,而不是使用span*..

<div class="row">
        <h1 class="pull-left">Take a look at our work to see what we mean</h1>
        <div>
        <ul class="social inline pull-right">
            <li>..</li>
        </ul>
        </div>
</div>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-06-02
    • 1970-01-01
    • 1970-01-01
    • 2011-09-19
    • 1970-01-01
    • 1970-01-01
    • 2012-07-30
    • 1970-01-01
    相关资源
    最近更新 更多