Template:Table alignment/tables.css

.defaultleft { text-align:left; }
.defaultcenter { text-align:center; }
.defaultright { text-align:right; }

.col1left td:nth-child(1),
.col2left td:nth-child(2),
.col3left td:nth-child(3),
.col4left td:nth-child(4),
.col5left td:nth-child(5),
.col6left td:nth-child(6),
.col7left td:nth-child(7),
.col8left td:nth-child(8),
.col9left td:nth-child(9),
.col10left td:nth-child(10),
.col11left td:nth-child(11),
.col12left td:nth-child(12),
.col13left td:nth-child(13),
.col14left td:nth-child(14),
.col15left td:nth-child(15),
.col16left td:nth-child(16),
.col17left td:nth-child(17),
.col18left td:nth-child(18),
.col19left td:nth-child(19),
.col20left td:nth-child(20),
.col21left td:nth-child(21),
.col22left td:nth-child(22),
.col23left td:nth-child(23),
.col24left td:nth-child(24),
.col25left td:nth-child(25),
.col26left td:nth-child(26),
.col27left td:nth-child(27),
.col28left td:nth-child(28),
.col29left td:nth-child(29),
.lastcol1left td:nth-last-child(1),
.lastcol2left td:nth-last-child(2),
.lastcol3left td:nth-last-child(3),
.lastcol4left td:nth-last-child(4),
.lastcol5left td:nth-last-child(5),
.lastcol6left td:nth-last-child(6),
.lastcol7left td:nth-last-child(7),
.lastcol8left td:nth-last-child(8),
.lastcol9left td:nth-last-child(9),
.lastcol10left td:nth-last-child(10),
.lastcol11left td:nth-last-child(11),
.lastcol12left td:nth-last-child(12),
.lastcol13left td:nth-last-child(13),
.lastcol14left td:nth-last-child(14),
.lastcol15left td:nth-last-child(15),
.lastcol16left td:nth-last-child(16),
.lastcol17left td:nth-last-child(17),
.lastcol18left td:nth-last-child(18),
.lastcol19left td:nth-last-child(19),
.lastcol20left td:nth-last-child(20),
.lastcol21left td:nth-last-child(21),
.lastcol22left td:nth-last-child(22),
.lastcol23left td:nth-last-child(23),
.lastcol24left td:nth-last-child(24),
.lastcol25left td:nth-last-child(25),
.lastcol26left td:nth-last-child(26),
.lastcol27left td:nth-last-child(27),
.lastcol28left td:nth-last-child(28),
.lastcol29left td:nth-last-child(29) { text-align:left; }

.col1center td:nth-child(1),
.col2center td:nth-child(2),
.col3center td:nth-child(3),
.col4center td:nth-child(4),
.col5center td:nth-child(5),
.col6center td:nth-child(6),
.col7center td:nth-child(7),
.col8center td:nth-child(8),
.col9center td:nth-child(9),
.col10center td:nth-child(10),
.col11center td:nth-child(11),
.col12center td:nth-child(12),
.col13center td:nth-child(13),
.col14center td:nth-child(14),
.col15center td:nth-child(15),
.col16center td:nth-child(16),
.col17center td:nth-child(17),
.col18center td:nth-child(18),
.col19center td:nth-child(19),
.col20center td:nth-child(20),
.col21center td:nth-child(21),
.col22center td:nth-child(22),
.col23center td:nth-child(23),
.col24center td:nth-child(24),
.col25center td:nth-child(25),
.col26center td:nth-child(26),
.col27center td:nth-child(27),
.col28center td:nth-child(28),
.col29center td:nth-child(29),
.lastcol1center td:nth-last-child(1),
.lastcol2center td:nth-last-child(2),
.lastcol3center td:nth-last-child(3),
.lastcol4center td:nth-last-child(4),
.lastcol5center td:nth-last-child(5),
.lastcol6center td:nth-last-child(6),
.lastcol7center td:nth-last-child(7),
.lastcol8center td:nth-last-child(8),
.lastcol9center td:nth-last-child(9),
.lastcol10center td:nth-last-child(10),
.lastcol11center td:nth-last-child(11),
.lastcol12center td:nth-last-child(12),
.lastcol13center td:nth-last-child(13),
.lastcol14center td:nth-last-child(14),
.lastcol15center td:nth-last-child(15),
.lastcol16center td:nth-last-child(16),
.lastcol17center td:nth-last-child(17),
.lastcol18center td:nth-last-child(18),
.lastcol19center td:nth-last-child(19),
.lastcol20center td:nth-last-child(20),
.lastcol21center td:nth-last-child(21),
.lastcol22center td:nth-last-child(22),
.lastcol23center td:nth-last-child(23),
.lastcol24center td:nth-last-child(24),
.lastcol25center td:nth-last-child(25),
.lastcol26center td:nth-last-child(26),
.lastcol27center td:nth-last-child(27),
.lastcol28center td:nth-last-child(28),
.lastcol29center td:nth-last-child(29) { text-align:center; }

.col1right td:nth-child(1),
.col2right td:nth-child(2),
.col3right td:nth-child(3),
.col4right td:nth-child(4),
.col5right td:nth-child(5),
.col6right td:nth-child(6),
.col7right td:nth-child(7),
.col8right td:nth-child(8),
.col9right td:nth-child(9),
.col10right td:nth-child(10),
.col11right td:nth-child(11),
.col12right td:nth-child(12),
.col13right td:nth-child(13),
.col14right td:nth-child(14),
.col15right td:nth-child(15),
.col16right td:nth-child(16),
.col17right td:nth-child(17),
.col18right td:nth-child(18),
.col19right td:nth-child(19),
.col20right td:nth-child(20),
.col21right td:nth-child(21),
.col22right td:nth-child(22),
.col23right td:nth-child(23),
.col24right td:nth-child(24),
.col25right td:nth-child(25),
.col26right td:nth-child(26),
.col27right td:nth-child(27),
.col28right td:nth-child(28),
.col29right td:nth-child(29),
.lastcol1right td:nth-last-child(1),
.lastcol2right td:nth-last-child(2),
.lastcol3right td:nth-last-child(3),
.lastcol4right td:nth-last-child(4),
.lastcol5right td:nth-last-child(5),
.lastcol6right td:nth-last-child(6),
.lastcol7right td:nth-last-child(7),
.lastcol8right td:nth-last-child(8),
.lastcol9right td:nth-last-child(9),
.lastcol10right td:nth-last-child(10),
.lastcol11right td:nth-last-child(11),
.lastcol12right td:nth-last-child(12),
.lastcol13right td:nth-last-child(13),
.lastcol14right td:nth-last-child(14),
.lastcol15right td:nth-last-child(15),
.lastcol16right td:nth-last-child(16),
.lastcol17right td:nth-last-child(17),
.lastcol18right td:nth-last-child(18),
.lastcol19right td:nth-last-child(19),
.lastcol20right td:nth-last-child(20),
.lastcol21right td:nth-last-child(21),
.lastcol22right td:nth-last-child(22),
.lastcol23right td:nth-last-child(23),
.lastcol24right td:nth-last-child(24),
.lastcol25right td:nth-last-child(25),
.lastcol26right td:nth-last-child(26),
.lastcol27right td:nth-last-child(27),
.lastcol28right td:nth-last-child(28),
.lastcol29right td:nth-last-child(29) { text-align:right; }