Worpress indent text
The problem: I have a piece of code that I want to show indented, but adding blank spaces by pressing the space bar is not solving the issue.
Also, using “ ” will disappear if I jump from Visual to Text mode.
The solution:
-
Use this html trick: <span style="visibility: hidden;">+++</span>
The number of characters give you the indentation. The character used is not important.</li>
-
Single line indentation is also possible by using the following: <span style="margin-left:28px;">Start writing here</span>
</ul>
-
Comments