我在我的网页上使用 Twitter bootstrap 时遇到问题 http://scrapp.site90.com/ . header 包裹在容器中,周围有 .row,但似乎因为 margin-left: -20px 此行无法与其他内容对齐。有可能修复它吗?我尝试更改 margin-left 的值,但随后布局变得一团糟。
最佳答案
您可以在 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>
关于html - Twitter bootstrap margin-left -20px 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17062531/