Align text center in table responsive field

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
tminh
Posts: 22
Joined: 2019-05-23 02:26

Align text center in table responsive field

Post by tminh » 2019-06-03 15:15

How do I Align text center in table responsive field ??
I want to algin all text in table center.
thanks

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 525
Joined: 2018-04-01 10:12

Re: Align text center in table responsive field

Post by pböttcher » 2019-06-03 21:33

Hi,

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

tminh
Posts: 22
Joined: 2019-05-23 02:26

Re: Align text center in table responsive field

Post by tminh » 2019-07-13 09:27

thank you, that what i need, but can i make it flost: center ?? center in horizon and verizon

pböttcher
AppGini Super Hero
AppGini Super Hero
Posts: 525
Joined: 2018-04-01 10:12

Re: Align text center in table responsive field

Post by pböttcher » 2019-07-13 21:34

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.

tminh
Posts: 22
Joined: 2019-05-23 02:26

Re: Align text center in table responsive field

Post by tminh » 2019-07-19 15:06

tks you, perfectly

Post Reply