w:c:strategywiki>DrBob m (Cleanup) |
w:c:strategywiki>Inarius (configurable clear) |
||
Line 1: | Line 1: | ||
<includeonly><div style="clear: both;"></div></includeonly><noinclude>Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically. | <includeonly><div style="clear: {{qif|test={{{1|}}}|then={{{1}}}|else=both}};"></div></includeonly><noinclude>Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically. | ||
==Usage== | |||
<pre>{{-}}</pre> | |||
or | |||
<pre>{{- | |||
|left, right, or both (default: both) | |||
}}</pre> | |||
== Example == | == Example == |
Revision as of 21:26, 23 October 2006
Includes a clearing element when used. Very useful for making floating elements stay within their section when the section is very small vertically.
Usage
{{-}}
or
{{- |left, right, or both (default: both) }}
Example
Header 1
This is a floating element.
Normally Header 2 would start immediately below this text, which would look very ugly.
Header 2
With the clearing element between Header 1 and Header 2, the two headers are separated from each other.