Difference between revisions of "Template talk:Clear floats"
m |
|||
Line 7: | Line 7: | ||
text text text text text text text text text text text text text text text text text text text. | text text text text text text text text text text text text text text text text text text text. | ||
− | preformatted text | + | Very long preformatted text which will be obscured by floats to its right if not cleared by this template |
</pre> | </pre> | ||
Latest revision as of 15:19, 27 December 2005
This makes sure the following text is not obscured by a float.
Example:
{{HINT float|20em|Float containing a lot of text which will overlap with full-width elements below it.}} text text text text text text text text text text text text text text text text text text text. Very long preformatted text which will be obscured by floats to its right if not cleared by this template
produces
Hint:
Float containing a lot of text which will overlap with full-width elements below it.
text text text text text text text text text text text text text text text text text text text.
Very long preformatted text which will be obscured by floats to its right if not cleared by this template
but
{{HINT float|20em|Float containing a lot of text which will overlap with full-width elements below it.}} text text text text text text text text text text text text text text text text text text text. {{Clear floats}} Very long preformatted text which will be obscured by floats to its right if not cleared by this template
produces
Hint:
Float containing a lot of text which will overlap with full-width elements below it.
text text text text text text text text text text text text text text text text text text text.
Very long preformatted text which will be obscured by floats to its right if not cleared by this template