Text align center correctly?

Text align center correctly?

ferran_munozferran_munoz Posts: 28Questions: 7Answers: 0

Hi!

I don't know if anyone has noticed that when you want align center the text of the table, the text is not alignment correctly. I think that the cause is that the alignment also count the order arrows width of the header.

So, there're any solution of this? Until now I played with paddings for align correctly the text, but I think that this would have a solution...

Example: http://live.datatables.net/loduvoke/1/edit

Replies

  • allanallan Posts: 63,643Questions: 1Answers: 10,492 Site admin

    Looks like you might be loading Bootstrap rather than DataTables styling, so the dt- alignment classes aren't available. Use Bootstrap's text alignment classes instead.

    Allan

This discussion has been closed.