aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawkg1ahb9sRpZyQp1wuvxpk__x_6llBY5pE <Fergus@web>2014-02-17 11:57:56 -0400
committeradmin <admin@branchable.com>2014-02-17 11:57:56 -0400
commitaa88ad3204b21d6e25e98b07841e42b9955305a8 (patch)
tree2b56df0ae153a6d48c54d280ff0df13368805d1b /doc/forum/formating:_how_to_align_text_to_the_right.mdwn
parent51bc4e7eb2a80a6625b7e97284e33061945bfc0a (diff)
downloadikiwiki-aa88ad3204b21d6e25e98b07841e42b9955305a8.tar
ikiwiki-aa88ad3204b21d6e25e98b07841e42b9955305a8.tar.gz
Note work-around for quick changes to the block level formatting of markdown.
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.mdwn7
1 files changed, 6 insertions, 1 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
index 2b56bd70b..e9d4008a2 100644
--- a/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
+++ b/doc/forum/formating:_how_to_align_text_to_the_right.mdwn
@@ -1,4 +1,4 @@
-as in title, how to align text to the right?
+As in title, how to align text to the right?
> Add to your local.css a class that aligns text to the right:
@@ -13,3 +13,8 @@ as in title, how to align text to the right?
> [[templates/note]] template does something similar. --[[Joey]]
>> Thanks!
+
+-----
+> Doing this myself and noted that [[markdown]] down does not allow the use of block level elements directly and thus, cannot switch the `span` suggested above for `div` in changing block level elements. Perhaps the *correct* thing to do here is create a template **but** a workaround I found useful was to over-ride the `inline` nature of the `span` element, as follows
+ .align_right { display: block ; text-align: right ; }
+> you may also like to remove the padding and margins since they will be provided by the enclosing block.