Clearfix

This element is used to write a div that clears a previous float formatter, preventing content from wrapping around a floated image or section of content. This is a standalone piece of code.

Clearfix

(Animated GIF - Click image to enlarge)

Place the cursor where you want the code to appear in the content field and select the element from the right-hand list. The code will be placed in the content field.

Clearfix code appears like this:

{clear both}

Default instance of this code. Prevents floating elements on both sides of an object.

{clear left}

Prevents floating elements on the left side of an object.

{clear right}

Prevents floating elements on the right side of an object.