Last modified: 2009-07-24 11:55:14 UTC
Right now, specifying alignment within Wiki tables is somewhat painful, what with having to type <nowiki>align="right"|</nowiki> or some such in front of every cell. The wish is to be able to specify, within a table's block of headers, the data column alignments once, in compact notation. We'd also like not only right/center/left alignment but also number alignment (on the number's decimal separator, even for scientific notation). Something like: <nowiki>{| border="1" cellpadding="2" [...] !! datalign="left"| Header1 !! datalign="number"| Value </nowiki> In this example, the two headers simultaneously defined the alignment to use for any following data cells (the first two columns, anyway). A later block of headers would reset the data alignment instructions, obviously. These settings would be locally overridable (on a per-cell basis) by the usual <nowiki>align="whatever"|</nowiki> instructions.
maybe have a look at the <col> html tag. I have no idea if it's still valid xhtml though.
See also bug 986, which requests the HTML tags COL, COLGROUP, TBODY and THEAD.
This functionality would be handled by <colgroup> and <col>. They are valid in HTML5, which is the future (XHMTL2.0 is dead). Also totally stale. *** This bug has been marked as a duplicate of bug 986 ***