Question and answer is powered by AnsPress.io
In HTML set button align-right without using text-align: right or float:right. I want to set a button to align using the bootstrap class.
My button:
<button type="submit" class="btn btn-success" name="submit">Save</button>
Add pull-right class in your tag.
For example:
<button type="submit" class="btn btn-success pull-right" name="submit">Save</button>