Template:ClearFloats

From the Fallout4 CreationKit Wiki
Revision as of 18:44, 13 July 2016 by imported>Hitbts (needed to be a CSS block)
Jump to navigation Jump to search

When you float an image to the left or right, text will wrap around it; this is pretty standard formatting. Problem is, this effect can't really be contained. If the floated image is underneath a section heading and the image is longer than the content of that section, then content from the next section(s) will also wrap around the image.

This template ({{ClearFloats}}) allows you to clear a float: content after the template will be shoved down below the floated content/image, to avoid the wrapping effect.