Text Indentation

This website contains links to software which is either no longer maintained or will be supported only until the end of 2019 (CKFinder 2). For the latest documentation about current CKSource projects, including software like CKEditor 4/CKEditor 5, CKFinder 3, Cloud Services, Letters, Accessibility Checker, please visit the new documentation website.

If you look for an information about very old versions of CKEditor, FCKeditor and CKFinder check also the CKEditor forum, which was closed in 2015. If not, please head to StackOverflow for support.

(Link corrected)
(Minor correction)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
Indentation defines the spacing between the beginning of a block-level element and the left margin or gutter in all languages with left to right text direction. In languages with right to left text direction indentation defines the spacing between the beginning of the element and the right margin.
 
Indentation defines the spacing between the beginning of a block-level element and the left margin or gutter in all languages with left to right text direction. In languages with right to left text direction indentation defines the spacing between the beginning of the element and the right margin.
  
Note that due to the nature of this formatting option, indentation can only be applied to a block-level element, like a paragraph, an image, a list item, or a <code>div</code> element. If the paragraph spans across multiple lines of text, each line will appear at the same indentation level.
+
Note that due to the nature of this formatting option, indentation can only be applied to a block-level element, like a paragraph, a list item, or a <code>div</code> element. If the paragraph spans across multiple lines of text, each line will appear at the same indentation level.
  
 
== Increasing Indentation ==
 
== Increasing Indentation ==
Line 23: Line 23:
  
  
To learn how to use this feature to create nested list stuctures, refer to the [[CKEditor 3.x/Users Guide/Rich Text/Lists|Creating Lists]] section of the User's Guide.
+
To learn how to use this feature to create nested list structures, refer to the [[CKEditor 3.x/Users Guide/Rich Text/Lists|Creating Lists]] section of the User's Guide.

Latest revision as of 16:05, 22 February 2011

Indentation defines the spacing between the beginning of a block-level element and the left margin or gutter in all languages with left to right text direction. In languages with right to left text direction indentation defines the spacing between the beginning of the element and the right margin.

Note that due to the nature of this formatting option, indentation can only be applied to a block-level element, like a paragraph, a list item, or a div element. If the paragraph spans across multiple lines of text, each line will appear at the same indentation level.

Increasing Indentation

To increase the indentation of the element, press the Increase Indent toolbar button. The block-level element containing the cursor will be indented with one tabulator length.

Indentation for both text directions used in CKEditor


Decreasing Indentation

To decrease the indentation of the element, press the Decrease Indent toolbar button. The indentation of a block-level element containing the cursor will decrease by one tabulator length.

Indentation for both text directions decreased in CKEditor


Indentation Levels

CKEditor supports multiple indentation levels per element. To indent an element even further, press the Increase Indent toolbar button as many times as necessary.

Different indentation levels used in CKEditor


To learn how to use this feature to create nested list structures, refer to the Creating Lists section of the User's Guide.

This page was last edited on 22 February 2011, at 16:05.