Clear Widget

Outputs a clearing <div>

By jevets

Version 0.2 Active Installs 10+ Updated 15 years ago 14 years old

Description

Outputs a clearing <div>. You may configure the CSS class and height and disable inline style output. Useful when you want to ensure that a widget clears its predecessor where the predecessor’s contents are dynamic.

Simply activate the plugin and visit Appearance > Widgets to use. You may choose to disable the inline style output (if your CSS already has a clear rule). You may also specify height and the CSS class of the clear block. If not specified, the defaults are used:

  • Height: 0
  • Class: ‘clear’

Example output (default):

<div class="clear" style="clear:both; height:0; visibility: hidden"></div>

Plugin comparisons

See how this plugin stacks up against alternatives side by side.