<div class="col-xs-12 col-sm-6">
<div class="add-repeat">
<span class="glyphicon glyphicon-plus pull-right" id="plus"></span>
<a href="" class="select">ADD PROGRAM</a>
</div>
</div>
我想让它看起来像这样:
所以我基本上想要将字形拉出来。我试图使用右拉类,但它只是简单地浮动元素。我想要两个块级元素,第一个被拉到右边。我怎么能用bootstrap做到这一点?
答案 0 :(得分:0)
Spans是内联元素,因此只需将span
和 <div class="col-xs-12 col-sm-6">
<div class="add-repeat">
<a href="" class="select">ADD PROGRAM</a>
<span class="glyphicon glyphicon-plus" id="plus"></span>
</div>
</div>
代码的位置交换为此内容,
INSERT INTO Attendance
SELECT [AttendanceData].Student, [AttendanceData].[10/1/2015] AS AttendValue,
"10/1/15" AS AttendDate
FROM [AttendanceData]
UNION ALL
SELECT [AttendanceData].Student, [AttendanceData].[10/2/2015] AS AttendValue,
"10/2/15" As AttendDate
FROM [AttendanceData];