看看下面的这个例子:一张上面有上一个和下一个按钮的图像。
<div class="thumbnail rec thmbnail-large">
<img class="img-thumbnail img-thumbnail-large-0 img-responsive" src="http://daniel-ethiopia.rhcloud.com/nivo/2.jpg" data-holder-rendered="true" width="100%" style="margin-left:0px;height:auto;">
<input type ="button" class="classic_button_next btn btn-primary btn-large" id="next_button" value="Next >>"/>
<input type ="button" class="classic_button_prev btn btn-primary btn-large" id="prev_button" value="Previous <<"/>
</div>
CSS============================================
<style type="text/css">
.classic_button_next{ position: absolute; right: 5px; top: 5px; }
.classic_button_prev { position: absolute; right: 88px; top: 5px; }
<style>
JScript======================= 问我将讨论你如何处理下一个和上一个事情。尽管这是一个工作示例。