Want to align to the right or to the left in Steemit? Here's how!
This question has been asked many times by some of my followers so I decided to write a detailed post on how to do it! Note that with the current Steemit editor, there is no super easy way to do this, so this guide will be helpful to those who really want to use these features in their posts!
I'll start with the short guide, aimed at those proficient in html, then proceed with a more detailed guide.
By the way, left or right alignment only works in markdown mode!
Short Guide
Use <div class="pull-left">
for left alignment and <div class="pull-right">
for right alignment. Each div must be closed with a </div>
.
Detailed Guide
Let's start with left alignment as an example. In markdown mode, enter the following html code, which is also known as a div block:
Now whatever you put in between <div class="pull-left">
and </div>
will be left-aligned up to the middle of the page, as the following image demonstrates.
Anything you write outside of the closing </div>
will start to wrap around the first div block. The following illustrates.
Let's continue by adding a right-aligned section! See below that by adding another <div class="pull-right">
block, we added another section of material that is aligned to the right of the page, again with the stuff inside the block only going as far as the middle of the page.
Now if I start adding text or images to the outside of this new div block, it will start on the left and if I add enough stuff, it will eventually wrap under the right aligned material!
Thanks! Super useful, upvoted!
Always glad to help, Steem on!
woh dude, had no idea steemit accepted html, good find!
upvoted and resteemed :D
You're welcome @blustreak!
So very helpful @shieha !
De rien!
very good, I will even resteem this to find it faster ☺
Thank you very much @clixmoney!
you are welcome ☺
That actually cleared up a lot for me. I knew the pull left or right bit, but the wrap around was a mystery to me. Thanks for that.
Glad this post was helpful to you in some way :D
I knew that... before I forgot it :P
hehe :)
Very helpful! Thanks!
You're welcome :)
Oh great article! resteemit
Thank you so much @bitcoinroute!
This sounds so stupid but I was wondering how you centre text??? I tried to use the p align='center' but it didn't work for me
It's not a stupid question :)
Just use
<center>
and</center>
to center whatever is put in between those two :)Oh my goodness - I'm so embarrassed: the simplest of code!
Good thanks
You're welcome!