Patreon LogoYour support makes Blue Moon possible (Patreon)

Question Is it possible to set margins for text?

siren song

Moon
Joined
Sep 28, 2020
Say I only wanted my text to fill a space about—
[___________________________________________________________]
—that wide. Is there a way to code that? Like how you can adjust the margins on a google doc? I'm not really sure how else to explain it.
 
Hi! So there are a few ways to adjust margins in BBcode.

Fieldsets
1. Fieldsets

TITLE HERE
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[FIELDSET=350px|TITLE HERE]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/FIELDSET]
Tables
2. Tables

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

[TABLE] [TR] [TD]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/TD] [TD][OPACITY=0]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/OPACITY][/TD] [/TR] [/TABLE]

💡FYI, tables will adjust themselves as you add to them, so what I have here will change according to how much text you've written. Best to put everything in first, and then adjust the margins by adding or removing X's in the right column.
Manual Formatting
3. Manual Formatting

This means adding breaks, and/or filler code to instruct your text. Here I manually broke each sentence in order to shorten the margins.

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.

However, to move the text around the page, you will have to apply indents, which move from 1 to 5.

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.​

[INDENT=5]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/INDENT]

You can also use filler to position your text.

XXXXXXXXXXXXXLorem ipsum dolor sit amet, consectetur adipiscing elit,
XXXXXXXXXXXXXsed do eiusmod tempor incididunt ut labore et dolore
XXXXXXXXXXXXXmagna aliqua. Ut enim ad minim veniam, quis nostrud
XXXXXXXXXXXXXexercitation ullamco laboris nisi ut aliquip ex ea
XXXXXXXXXXXXXcommodo consequat. Duis aute irure dolor in
XXXXXXXXXXXXXreprehenderit in voluptate velit esse cillum dolore eu
XXXXXXXXXXXXXfugiat nulla pariatur. Excepteur sint occaecat cupidata
XXXXXXXXXXXXXnon proident, sunt in culpa qui officia deserunt mollit
XXXXXXXXXXXXXanim id est laborum.

[OPACITY=0]XXXXXXXXXXXXX[/OPACITY]Lorem ipsum dolor sit amet, consectetur adipiscing elit, [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]sed do eiusmod tempor incididunt ut labore et dolore [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]magna aliqua. Ut enim ad minim veniam, quis nostrud [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]exercitation ullamco laboris nisi ut aliquip ex ea [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]commodo consequat. Duis aute irure dolor in [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]reprehenderit in voluptate velit esse cillum dolore eu [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]fugiat nulla pariatur. Excepteur sint occaecat cupidata [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]non proident, sunt in culpa qui officia deserunt mollit [OPACITY=0]XXXXXXXXXXXXX[/OPACITY]anim id est laborum.



I hope this helps! ^^
 
Last edited:
Oh, awesome! The indenting is pretty much exactly what I was looking for; I didn't realize it could be used that way. Thank you!
 
Hi! So there are a few ways to adjust margins in BBcode.

Fieldsets
1. Fieldsets

TITLE HERE
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

[FIELDSET=350px|TITLE HERE]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/FIELDSET]
Tables
2. Tables

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

[TABLE] [TR] [TD]Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/TD] [TD][OPACITY=0]XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[/OPACITY][/TD] [/TR] [/TABLE]

💡FYI, tables will adjust themselves as you add to them, so what I have here will change according to how much text you've written. Best to put everything in first, and then adjust the margins by adding or removing X's in the right column.
Manual Formatting
3. Manual Formatting

This means adding breaks, and/or filler code to instruct your text. Here I manually broke each sentence in order to shorten the margins.

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.

However, to move the text around the page, you will have to apply indents, which move from 1 to 5.

Lorem ipsum dolor sit amet, consectetur adipiscing elit,​
sed do eiusmod tempor incididunt ut labore et dolore​
magna aliqua. Ut enim ad minim veniam, quis nostrud​
exercitation ullamco laboris nisi ut aliquip ex ea​
commodo consequat. Duis aute irure dolor in​
reprehenderit in voluptate velit esse cillum dolore eu​
fugiat nulla pariatur. Excepteur sint occaecat cupidatat​
non proident, sunt in culpa qui officia deserunt mollit​
anim id est laborum.​

[INDENT=5]Lorem ipsum dolor sit amet, consectetur adipiscing elit,[/INDENT] [INDENT=5]sed do eiusmod tempor incididunt ut labore et dolore[/INDENT] [INDENT=5]magna aliqua. Ut enim ad minim veniam, quis nostrud[/INDENT] [INDENT=5]exercitation ullamco laboris nisi ut aliquip ex ea[/INDENT] [INDENT=5]commodo consequat. Duis aute irure dolor in[/INDENT] [INDENT=5]reprehenderit in voluptate velit esse cillum dolore eu[/INDENT] [INDENT=5]fugiat nulla pariatur. Excepteur sint occaecat cupidatat[/INDENT] [INDENT=5]non proident, sunt in culpa qui officia deserunt mollit[/INDENT] [INDENT=5]anim id est laborum.[/INDENT]

You can also use opacity to position your text. For instance, if you wanted to push the paragraph left within a table. You would add this filler to the right of the text instead.

XXXXXXXXXXXXXLorem ipsum dolor sit amet, consectetur adipiscing elit,
XXXXXXXXXXXXXsed do eiusmod tempor incididunt ut labore et dolore
XXXXXXXXXXXXXmagna aliqua. Ut enim ad minim veniam, quis nostrud
XXXXXXXXXXXXXexercitation ullamco laboris nisi ut aliquip ex ea
XXXXXXXXXXXXXcommodo consequat. Duis aute irure dolor in
XXXXXXXXXXXXXreprehenderit in voluptate velit esse cillum dolore eu
XXXXXXXXXXXXXfugiat nulla pariatur. Excepteur sint occaecat cupidata
XXXXXXXXXXXXXnon proident, sunt in culpa qui officia deserunt mollit
XXXXXXXXXXXXXanim id est laborum.

[OPACITY=0]XXXXXXXXXXXXX[/OPACITY]Lorem ipsum dolor sit amet, consectetur adipiscing elit,[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]sed do eiusmod tempor incididunt ut labore et dolore[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]magna aliqua. Ut enim ad minim veniam, quis nostrud[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]exercitation ullamco laboris nisi ut aliquip ex ea[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]commodo consequat. Duis aute irure dolor in[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]reprehenderit in voluptate velit esse cillum dolore eu[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]fugiat nulla pariatur. Excepteur sint occaecat cupidata[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]non proident, sunt in culpa qui officia deserunt mollit[/INDENT] [INDENT=5][OPACITY=0]XXXXXXXXXXXXX[/OPACITY]anim id est laborum.



I hope this helps! ^^
Follow-up question: is there any way to center a fieldset?
 
8SQ.gif


happy to help!
 
Back
Top Bottom