Template

Template:Clear

From Joomla! Documentation

Revision as of 15:28, 17 January 2008 by CirTap (talk | contribs) (New page: <div style="clear:both"></div><noinclude>{{documentation}}</noinclude>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[view] [edit] [history]

Template documentation


This template adds <div style="clear:both;"></div> to clear floats with image alignments and other layout issues.

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.