]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Alignment idea
authorhttp://ptecza.myopenid.com/ <http://ptecza.myopenid.com/@web>
Tue, 2 Sep 2008 19:24:28 +0000 (15:24 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 2 Sep 2008 19:24:28 +0000 (15:24 -0400)
doc/plugins/table/discussion.mdwn

index 675f7f7df86a54ad51d403029a16dc01ed56dcfe..05cdd5f8bac2212b9eae1056c4440022a994a078 100644 (file)
@@ -29,3 +29,18 @@ I hope this might be intresting for some ikiwiki user's.
 > (Just FYI, in future, I recommend using a unified diff. Also, not
 > renaming variables that don't really need to be renamed makes your patch
 > easier to apply.) --[[Joey]]
 > (Just FYI, in future, I recommend using a unified diff. Also, not
 > renaming variables that don't really need to be renamed makes your patch
 > easier to apply.) --[[Joey]]
+
+---
+
+# Horizontal cell alignment
+
+Do you know any easy method of horizontal cell alignment? I know I can set `class`
+attribute for the table, but how to set different `class` for different cells?
+
+[DokuWiki](http://www.dokuwiki.org/) has a nice horizontal alignment solution.
+Suppose that we have `|foo|` cell. If I want to align the cell to left,
+then I should type `|foo |`. If I want to do right alignment, then I type `| foo|`.
+For centering cell content I need to type `| foo |`. Please note that I used
+only one space for all examples, but in DokuWiki I can use many spaces.
+
+Do you like it? Can you implement the same in Ikiwiki? :) --[[PaweÅ‚|ptecza]]