Template

Clear: Difference between revisions

From Joomla! Documentation

CirTap (talk | contribs)
m 1 revision(s)
CirTap (talk | contribs)
m Protected "Template:Clear" [edit=sysop:move=sysop]
 
(No difference)

Latest revision as of 02:42, 19 January 2008

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