Text align center correctly?
Text align center correctly?
![ferran_munoz](https://datatables.net/forums/uploads/userpics/849/nY6VSMHRKXTCL.jpg)
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
This discussion has been closed.
Replies
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