]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/forum/formating:_how_to_align_text_to_the_right.mdwn
Added a comment
[ikiwiki.git] / doc / forum / formating:_how_to_align_text_to_the_right.mdwn
index 832a8cea3867a25928932537a4033af3bd7f2fb2..2b56bd70b27de13e12432636a18c38e15698ab2e 100644 (file)
@@ -1 +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!