Is there anything built into to Twitter Bootstrap 2.0 to align table contents?

SiberianGuy picture SiberianGuy · Jun 23, 2012 · Viewed 18.5k times · Source

It is easy to align table by setting "align" attribute, but table aligning by css is a bit hacky. Is there built-in support for tables aligning in Twitter Bootstrap 2.0?

Answer

Ant Swift picture Ant Swift · Oct 29, 2012

There is nothing built in to support this but it is very easy to add something like:

.table th.rightCell,
.table td.rightCell {
  text-align: right;
}