基本上我试图做它来获得网站另一侧的两个按钮,但在同一行。这里是什么样子: Bootstrap:对齐同一行上的两个按钮
而这里的代码我有:
<div class="panel-footer"><!-- panel-footer -->
<div class="previous">
<button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-chevron-left"></span>
</button>
</div>
<div class="next">
<button type="button" class="btn btn-default btn-lg">
<span class="glyphicon glyphicon-chevron-right"></span>
</button>
</div>
</div><!-- end panel-footer -->
而这里的CSS为类“以前”和“下一个”。
.previous {
text-align: left;
}
.next {
text-align: right;
}
谢谢。如果有帮助,我使用bootstrap。
你打败了我,我也忘记了我的答案 – EdwardM
顺便说一句,前''和'下一个'类可以合并上部divs:'