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: 28
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

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Align text center in table responsive field

Post by pbottcher » 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 2436 times
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

tminh
Posts: 28
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

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Align text center in table responsive field

Post by pbottcher » 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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

tminh
Posts: 28
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