Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How align text in <caption> table to the left?

Good day.

Code:

<table class="table table-hover table-bordered">
<caption class="pull-right">Pays</caption>
<thead>

What class in bootstrap.css would align text in <caption> to the left?

If may give me link on full description format text in <caption>

like image 740
Leo Loki Avatar asked Feb 09 '13 10:02

Leo Loki


1 Answers

As of Bootstrap 2.3 released Feb 7th, there is now a built-in class to do this: see http://jsfiddle.net/panchroma/PjZqE/

HTML

<table class="table table-hover table-bordered">
<caption class="text-left">Caption Left</caption>  

See http://blog.getbootstrap.com/2013/02/07/bootstrap-2-3-released/ for full details of all the new features

like image 105
David Taiaroa Avatar answered Sep 18 '22 17:09

David Taiaroa