+ 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!
3 odpowiedzi
+ 5
CSS:
tr{ text-align:center; }
+ 8
try adding in the CSS
tr{
text-align:center;
}