Indent

By SputbotSputbot

Description

To be able to indent a new paragraph as with the tab key, copy the code or modify it to one's own needs.

Code

[[span style="margin-left:40px"]] This paragraph is indented. You can also change the number of pixels it is indented by changing the number before the px. Here are some examples: [[/span]]

[[span style="margin-left:20px"]] 1. Paragraph 1 [[/span]]
[[span style="margin-left:40px"]] 1.1. Paragraph 1.1 [[/span]]
[[span style="margin-left:40px"]] 1.2. Paragraph 1.3 [[/span]]
[[span style="margin-left:60px"]] 1.2.1. Paragraph 1.2.1 [[/span]]
[[span style="margin-left:20px"]] 2. Paragraph 2 [[/span]]
[[span style="margin-left:40px"]] 2.1. Paragraph 2.1 [[/span]]
[[span style="margin-left:20px"]] 3. Paragraph 3 [[/span]]

In action

This paragraph is indented. You can also change the number of pixels it is indented by changing the number before the px. Here are some examples:

1. Paragraph 1
1.1. Paragraph 1.1
1.2. Paragraph 1.3
1.2.1. Paragraph 1.2.1
2. Paragraph 2
2.1. Paragraph 2.1
3. Paragraph 3

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +13+x
Right indent
Johnny_RagweedJohnny_Ragweed 1242079589|%e %b %Y, %H:%M %Z|agohover

Is there any way to indent from the right side of the page?

unfold Right indent by Johnny_RagweedJohnny_Ragweed, 1242079589|%e %b %Y, %H:%M %Z|agohover
Re: Right indent
Helmuti_pdorfHelmuti_pdorf 1242136696|%e %b %Y, %H:%M %Z|agohover

I would use span/div style="padding-right:20em;" or margin-right:…."

have a look at http://community.wikidot.com/howto:howto:embelish-text:examples


Service is my success. My webtips:www.blender.org, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

unfold Re: Right indent by Helmuti_pdorfHelmuti_pdorf, 1242136696|%e %b %Y, %H:%M %Z|agohover
Indent Tag
FlawedspiritFlawedspirit 1243689388|%e %b %Y, %H:%M %Z|agohover

It would be great if you could use a single character to indent that line, like wikia pages. They use the : or ; characters to indent a line. Hope someone manages to implement it! It would cut down on all the confusing code.

unfold Indent Tag by FlawedspiritFlawedspirit, 1243689388|%e %b %Y, %H:%M %Z|agohover
Add a new comment
page_revision: 2, last_edited: 1217320261|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License