https://bugzilla.wikimedia.org/show_bug.cgi?id=36231
--- Comment #3 from Fomafix <foma...@googlemail.com> 2012-09-13 19:30:47 UTC --- With the additional definition th { text-align: center; } the alignment for table header cells in tables with text-align on table rows doesn't work anymore: {| |- style="text-align: right;" ! Head 1 !! Head 2 |- | Table body cell 1 || Table body cell 2 |} Without th { text-align: center; } the two table head cells get right aligned. With th { text-align: center; } the two table head cells get centered. wikitable has already this behavior: {| class="wikitable" style="text-align: right;" |- ! Head |- | 1 |- | 12 |- | 123 |- | 1234 |- | 12345 |- | 123456 |- | 1234567 |} The table header cell is centered and the table body cells are right aligned. When the definition th { text-align: center; } in skins/common/commonElements.css gets added, the definition text-align: center; for table.wikitable > tr > th, table.wikitable > * > tr > th in skins/common/shared.css and in skins/common/commonPrint.css can be omitted. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l