Template:Clear/doc: Difference between revisions

From VNDev Wiki
No edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{documentation subpage}}
== Description ==
== Description ==
This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.
This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.
Line 10: Line 12:
| {{tlx|clear|right}} || — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
| {{tlx|clear|right}} || — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
|}
|}
<includeonly>[[Category:Formatting templates]]</includeonly>

Latest revision as of 14:10, 23 June 2022

Description

This template makes content wait until existing content is completed in all columns. It is often used to prevent text from flowing next to unrelated images.

Usage

{{clear}} — adds <div style="clear:both;"></div>
{{clear|left}} — adds <div style="clear:left;"></div>
{{clear|right}} — adds <div style="clear:right;"></div>