sharataka sharataka - 1 year ago 32
HTML Question

How do I right align an element using twitter bootstrap?

I have 3 elements and I am trying to align the button to the right side of the screen, but am having trouble doing so.

<div class="container">
<div class="row-fluid">
<img src="img.png" style="width:50px;">
<a href="link_to_img.html" class="btn btn-success">Grab it!</a>

Answer Source

Try the class 'pull-right'.

<div class="pull-right">...</div>