Line 1: | Line 1: | ||
== IndentClasses == | == IndentClasses == | ||
− | FCKeditor allows the use of CSS classes for block indentation. | + | FCKeditor allows the use of CSS classes for block indentation. |
+ | |||
+ | Example:we create a CSS file called 'indent.css' with the following code: | ||
+ | <pre>p | ||
+ | { | ||
+ | text-indent: 70px; | ||
+ | } | ||
+ | </pre> | ||
+ | We apply the file to the IndentClass option: | ||
<pre>FCKConfig.IndentClasses = ["mycssstyles/indent.css/"] ; | <pre>FCKConfig.IndentClasses = ["mycssstyles/indent.css/"] ; | ||
− | </pre> | + | </pre> |
+ | '''NOTE''': If you use this option the settings of [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/IndentLength|IndentLength]] and the [[FCKeditor 2.x/Developers Guide/Configuration/Configuration Options/IndentUnit|IndentUnit]] will be override. <br> |
Revision as of 13:45, 11 January 2008
IndentClasses
FCKeditor allows the use of CSS classes for block indentation.
Example:we create a CSS file called 'indent.css' with the following code:
p { text-indent: 70px; }
We apply the file to the IndentClass option:
FCKConfig.IndentClasses = ["mycssstyles/indent.css/"] ;
NOTE: If you use this option the settings of IndentLength and the IndentUnit will be override.