Difference between revisions of "Template:Clear"
Jump to navigation
Jump to search
(Create by copy from WP - needs documentation adding) |
(add some documentation) |
||
Line 1: | Line 1: | ||
<div style="clear:both;"></div> | <div style="clear:both;"></div> | ||
+ | <noinclude> | ||
+ | |||
+ | This template adds <tt><div style="clear:both;"></div></tt>; | ||
+ | for technical XHTML details, see <nowiki>[[Template talk:Clear]]</nowiki> on Wikipedia. | ||
+ | |||
+ | == Documentation == | ||
+ | <nowiki>{{clear}}</nowiki>: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images. | ||
+ | |||
+ | ===Usage=== | ||
+ | <nowiki>{{subst:Clear}}</nowiki> | ||
+ | |||
+ | The template may also be transcluded, but as the markup provided is unlikely to change or improve,there is little justification for transclusion overhead. | ||
+ | |||
+ | </noinclude> |
Revision as of 07:18, 14 December 2007
This template adds <div style="clear:both;"></div>;
for technical XHTML details, see [[Template talk:Clear]] on Wikipedia.
Documentation
{{clear}}: Makes content wait until existing content is completed in all columns. Often used to stop text from flowing next to unrelated images.
Usage
{{subst:Clear}}
The template may also be transcluded, but as the markup provided is unlikely to change or improve,there is little justification for transclusion overhead.