Difference between revisions of "Template:Clear"
(Clear template (copied from Wikipedia)) |
m (one </nowiki> was redundant) |
||
Line 7: | Line 7: | ||
* <nowiki>{{clear|left}}</nowiki> — adds <code><div style="clear:left;"></div></code> | * <nowiki>{{clear|left}}</nowiki> — adds <code><div style="clear:left;"></div></code> | ||
* <nowiki>{{clear|right}}</nowiki> — adds <code><div style="clear:right;"></div></code> | * <nowiki>{{clear|right}}</nowiki> — adds <code><div style="clear:right;"></div></code> | ||
− |
Revision as of 17:21, 10 March 2020
Description
It 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>