0

I am trying to get suitable text alignment in a markdown file. I have been using HTML to justify text. The problem occurs when I want the text on one side to be left-justified and on the other side right-justified with no new line in between.

<div style="text-align: right"> Your Text Here </div>

For example:

Text Here .............................................................Text Here (Omitting the periods)

I have also tried

<p style="text-align: right; margin: 0;">This text is aligned to the right.</p><p style="text-align: left; margin: 0;">This text is aligned to the left.</p>

However, this still skews the text making it look like the following.

Text Here
..................................................Text Here
David Wisniewski
  • 193
  • 1
  • 1
  • 10

0 Answers0