Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

How to make margins?

Creator: R3Veal August 21, 2018 8:59am
2 posts - page 1 of 1
R3Veal
<Member>
R3Veal's Forum Avatar
Show more awards
Posts:
63
Joined:
Jul 11th, 2017
Permalink | Quote | PM | +Rep August 21, 2018 8:59am | Report
Hey,
I just wanted to make a margin. How to do this?
I don't want to make indent just a margin.
PsiGuard
<Retired Admin>
PsiGuard's Forum Avatar
Show more awards
Posts:
10290
Joined:
Jun 26th, 2011
Permalink | Quote | PM | +Rep August 21, 2018 3:57pm | Report
Easiest way to control the spacing of your content is to use columns.

Code:
[columns] [nextcol][space] [nextcol] Content here [nextcol][space] [/columns]

That should put some space on either side of your content. Not as extreme as a full indent. You can add additional spaces to create a larger margin if you want.

Example of plain text:

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.


Example of text with small 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.


Another way to do it would be to set explicit column widths. The width of forum posts is around 900 pixels (I forget the exact number), so if your three columns add up to 900, it should give you nicely centered margins. Note that the total width of a guide is a bit smaller (around 700 pixels) so you'll have to adjust your numbers if you're putting this in a guide.

Code:
[columns] [nextcol width=50] [nextcol width=800] 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. [nextcol width=50] [/columns]

In action:
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.
Thanks to The_Nameless_Bard for the sig!

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide