Template

Template:Clear

From Joomla! Documentation

Revision as of 17:49, 17 January 2008 by CirTap (talk | contribs) (1 revision(s))

[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.