Plugin Div | |
Use this wiki plugin to define and format sections of a page or text. |
Parameters | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Define and format sections of a page or text Introduced in Tiki 1. Go to the source code Preferences required: wikiplugin_div
|
Controlling "Wrapping" | ||||||||||||
If this plugin is used and the
|
Examples | |
Type=div | |
This code, Copy to clipboard
This section is a "div" that is 200 pixels wide, has a nice blanched almond background color, aligns to the right because float=right, with text that aligns center because align=center.
|
Type=span | |
This code, Copy to clipboard
Difference between "div" and "span" These types are similar, but one of the main differences is that the "span" type can be used for inline text whereas the "div" type cannot.
|
Type=pre | |
This code, Copy to clipboard
Using "pre" displays text in a fixed-width font, preserves spaces and any line breaks (enter was hit twice before "line"). The width only controls the color, not the text. Note PluginCode or the Wiki-Syntax Text "~np~ your content ~/np~" can also be used for similar effects and to display code without processing it.
|
Type=blockquote | |
This code, Copy to clipboard
Notice that blockquote indents the text. Here the width has been set at 150 pixels and the text is justified.
|
Heading type | |
Copy to clipboard
|
Header level 3 | |
|
Type=b, i, tt, | ||||||||||||
These types are used to format text. Here are some examples:
Note Consider using Wiki-Syntax Text if you just need simple text formatting and don't need other formatting like a background color or special alignment. |
Grid Display / Masonry | |
|
Related pages | |
|