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