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