Actions

Template

Clear

From Joomla! Documentation

Revision as of 21:42, 18 January 2008 by CirTap (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[view] [edit] [history]

Template-info.pngTemplate documentation

Contents


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.