how to align text in css bootstrap inside a div code example Example: bootstrap text center in div <!-- recommended method --> <div class="col-xs-1 text-center">