summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-03 23:41:11 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-03 23:41:11 -0400
commit73fe8e604878b84de739444ee8fbebb758fb5b14 (patch)
tree7f0645ff1fa1e0ced39ec61fef63fbd64395825e /doc/plugins
parent3c022e2cd755508391cc866c11b146f0edf43762 (diff)
parent81211d2e75f43025d677f0d74cacb02989a4903d (diff)
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/table/discussion.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/plugins/table/discussion.mdwn b/doc/plugins/table/discussion.mdwn
index 675f7f7df..05cdd5f8b 100644
--- a/doc/plugins/table/discussion.mdwn
+++ b/doc/plugins/table/discussion.mdwn
@@ -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]]
+
+---
+
+# 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]]