我想将我的链接对齐在一行,但我不知道该怎么做。
这是我的代码:
<div class=col-sm-4>
<div class="panel-footer">
<div class="form-group btn-group btn-group-xs" role="group">
<form action="EditMyFoundItem" method="POST">
<input type="Hidden" name="found_id" value="${myFoundList.getFoundID()}">
<button type="submit" class="btn btn-link btn-xs">Edit</button>
</form>
<form action="CommentFoundItem" method="POST">
<input type="HIDDEN" name="found_id" value="${myFoundList.getFoundID()}">
<button type="submit" class="btn btn-link btn-xs">Add Comment</button>
</form>
</div>
</div>
我希望我的链接看起来像这样:
Edit Add Comment
答案 0 :(得分:0)
为表单标记添加类pull-left
<form action="EditMyFoundItem" class="pull-left" method="POST">