Template:Clear: Difference between revisions

From Project-GC
Jump to navigation Jump to search
m one </nowiki> was redundant
Added category
 
Line 7: Line 7:
* <nowiki>{{clear|left}}</nowiki> — adds <code>&lt;div style="clear:left;"&gt;&lt;/div&gt;</code>
* <nowiki>{{clear|left}}</nowiki> — adds <code>&lt;div style="clear:left;"&gt;&lt;/div&gt;</code>
* <nowiki>{{clear|right}}</nowiki> — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
* <nowiki>{{clear|right}}</nowiki> — adds <code>&lt;div style="clear:right;"&gt;&lt;/div&gt;</code>
[[Category: Wiki Templates]]</noinclude>

Latest revision as of 21:00, 26 April 2024

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>