Page 1 of 1

Use an HTML character to create spaces or a blank line BBCode

Posted: Fri Jan 19, 2018 10:11 pm
by steven
This BBcode will add an HTML character code space.    In this case multiple spaces. This code can be used to add a blank line before or after inserting an image, in a list or after another code that does not allow adding a blank line. This is useful if the <br /> (break command) causes two blank lines to appear instead of one. To get a blank line, place this code on a line without any other code or text.

BBCode usage:

Code: Select all

[Sp][/Sp]
HTML replacement:

Code: Select all

&nbsp;
Help line:

Code: Select all

HTML character space

Example usage in a list:
  1. Apples
     
  2. Oranges
     
     
  3. Peaches
  4. Pears
This is how the entry above appears when created in a post:

Code: Select all

Example usage in a list:
[list=1]Apples
[Sp][/Sp]
[*]Oranges
[Sp][/Sp]
[Sp][/Sp]
[*]Peaches
[*]Pears[/list]
To insert multiple blanks lines use line breaks.