Page 1 of 1

Align text center in table responsive field

Posted: 2019-06-03 15:15
by tminh
How do I Align text center in table responsive field ??
I want to algin all text in table center.
thanks

Re: Align text center in table responsive field

Posted: 2019-06-03 21:33
by pbottcher
Hi,

maybe I misunderstand what you try to acheive, but you can do that via
center.GIF
center.GIF (13.33 KiB) Viewed 2439 times

Re: Align text center in table responsive field

Posted: 2019-07-13 09:27
by tminh
thank you, that what i need, but can i make it flost: center ?? center in horizon and verizon

Re: Align text center in table responsive field

Posted: 2019-07-13 21:34
by pbottcher
Hi,

you can use jquery to acheive this.

add

Code: Select all

$j("th").attr('style', 'text-align: center; vertical-align: middle');
as javascript to your table.

Re: Align text center in table responsive field

Posted: 2019-07-19 15:06
by tminh
tks you, perfectly