summaryrefslogtreecommitdiff
path: root/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/forum/formating:_how_to_align_text_to_the_right.mdwn')
-rw-r--r--doc/forum/formating:_how_to_align_text_to_the_right.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/formating:_how_to_align_text_to_the_right.mdwn b/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
new file mode 100644
index 000000000..2b56bd70b
--- /dev/null
+++ b/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
@@ -0,0 +1,15 @@
+as in title, how to align text to the right?
+
+> Add to your local.css a class that aligns text to the right:
+
+ .alignright { text-align: right; }
+
+> And then you just just use `<span class="alignright">` around
+> other html.
+>
+> You can refine that, and allow right-aligning markdowned text
+> by using the [[ikiwiki/directive/template]]
+> directive, with a template that contains the html. The
+> [[templates/note]] template does something similar. --[[Joey]]
+
+>> Thanks!