+ 8

Table formatting in html

How do I centralize the text in the cells of a table. I mean I learned how to centralize the entire table altogether. Please check my code called "Table edited 2017/04/30 17:26" and you shall see that I was able to centralize the entire table altogether. But what I am looking for is to centralize the text alone, inside each cell. Plz help. And thx in advance. Kudos!

30th Apr 2017, 12:01 PM
T#3©od3®
T#3©od3® - avatar
3 Antworten
+ 5
CSS: tr{ text-align:center; }
25th Apr 2020, 9:56 PM
BENOTMANE
BENOTMANE - avatar
+ 8
try adding in the CSS tr{ text-align:center; }
30th Apr 2017, 12:03 PM
Burey
Burey - avatar