1. Creole table formatting
- Posted by mattlewis (admin) Dec 10, 2008
- 964 views
The CSS for the wiki always aligns table headers to the right. I notice that the forum uses a different CSS file, which doesn't appear to apply any alignment style to table headers. At minimum, I think we should remove this styling, since it's somewhat jarring to have the header and contents aligned in opposite directions.
I've been using TWiki elsewhere, which has a similar syntax, but adds alignment and spanning syntax:
| center-aligned | cell with at least two, and equal number of spaces on either side | right-aligned | cell with more spaces on the left | 2 colspan || and multi-span columns with multiple |'s right next to each other |^| cell with caret indicating follow-up row of multi-span rowsObviously, this isn't part of Creole, but might be useful to have...
Matt
2. Re: Creole table formatting
- Posted by DerekParnell (admin) Dec 10, 2008
- 964 views
The CSS for the wiki always aligns table headers to the right. I notice that the forum uses a different CSS file, which doesn't appear to apply any alignment style to table headers. At minimum, I think we should remove this styling, since it's somewhat jarring to have the header and contents aligned in opposite directions.
Yes I noticed this too. The style sheet for the Forum is a bit weird. I'll see if we can get someone to update it.
I've been using TWiki elsewhere, which has a similar syntax, but adds alignment and spanning syntax:
| center-aligned | cell with at least two, and equal number of spaces on either side | right-aligned | cell with more spaces on the left | 2 colspan || and multi-span columns with multiple |'s right next to each other |^| cell with caret indicating follow-up row of multi-span rowsObviously, this isn't part of Creole, but might be useful to have...
Yes, I'd been wondering about how to do this. The proper way is via style sheets but the wiki only outputs HTML and not CSS. I'll play around with it to see what we can do.
3. Re: Creole table formatting
- Posted by mattlewis (admin) Dec 10, 2008
- 988 views
I've been using TWiki elsewhere, which has a similar syntax, but adds alignment and spanning syntax:
| center-aligned | cell with at least two, and equal number of spaces on either side | right-aligned | cell with more spaces on the left | 2 colspan || and multi-span columns with multiple |'s right next to each other |^| cell with caret indicating follow-up row of multi-span rowsObviously, this isn't part of Creole, but might be useful to have...
Yes, I'd been wondering about how to do this. The proper way is via style sheets but the wiki only outputs HTML and not CSS. I'll play around with it to see what we can do.
Yes, this would require changes to the wiki or the creole parser (I'm not familiar with the guts), but I assume (it must be easy, right?) that you could assign an id or a style class that would correspond to the CSS based on that, right? But that kinda makes assumptions about how it all works, which might not be reasonable.
Matt