Template:Clear/doc: Difference between revisions

From VNDev Wiki
No edit summary
No edit summary
Line 10: Line 10:
| {{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>

Revision as of 09:02, 17 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>