如何将<caption>表格中的文字对齐到左边?

Leo*_*oki 7 text alignment caption twitter-bootstrap

美好的一天.

码:

<table class="table table-hover table-bordered">
<caption class="pull-right">Pays</caption>
<thead>
Run Code Online (Sandbox Code Playgroud)

bootstrap.css中的哪个类会将文本对齐<caption>到左侧?

如果可以给我链接完整的描述格式文本 <caption>

Dav*_*roa 14

从2月7日发布的Bootstrap 2.3开始,现在有一个内置的类来执行此操作:请参阅http://jsfiddle.net/panchroma/PjZqE/

HTML

<table class="table table-hover table-bordered">
<caption class="text-left">Caption Left</caption>  
Run Code Online (Sandbox Code Playgroud)

有关所有新功能的完整详细信息,请参见http://blog.getbootstrap.com/2013/02/07/bootstrap-2-3-released/