This page is for discussing the contents of Help with Tables.
Centered tables
Is it possible to center a whole table on the page?
Not directly without using a table class (if you know CSS and are the admin of the wiki, you can define centered tables as a new class of tables), but you can do:
I look centered! |
This is directed at someone who doesn't know HTML:
What "type" of table attribute makes more sense to you? These:
-
<50%>: cell width
-
<-2>: colspan
-
<|2>: rowspan
-
<(>: left aligned
-
align="center" or <:>: centered
-
<)>: right aligned
-
<^>: aligned to top
-
<v>: aligned to bottom
Or these:
-
width="50%"
-
colspan="2"
-
rowspan="2"
-
align="left"
-
align="center"
-
align="right"
-
valign="top"
-
valign="bottom"
?
Opinions:
-
Eli: thinks html-style is more intuitive. More long-winded but easier if you're not a ninja-expert.
-
Brent: thinks shorthand style is easier to use, but harder to understand. For instance, <(|2^> is pretty simple, but looks like gibberish. I feel like there's probably something simpler than html attributes, though. Maybe <right top colspan(2)>?
As such I think this is pretty awesome, a new person could simply add whatever tag at the end of the gibberish and everything should work fine.