Search code examples
twitter-bootstrapcenter

Centering .col-md-x on bootstrap


How could I center the .col-md-8 (http://getbootstrap.com/css/#grid-example-basic) on bootstrap valid html?


Solution

  • You can use the class col-md-offset-2. Or you can create a div inside of your column div and use a class of content-center. Hope this helps.