WordPress.org

Ready to get started?Download WordPress

Forums

WP125
no div clear causes broken sidebars (1 post)

  1. Seth Carstens
    Member
    Posted 1 year ago #

    You need to add a div clear at the end of your widget code. This allows browsers to properly calculate the height of the widget div since all your elements are floating.

    I added this line to wp125.php around line 328 right before the function close curly brace:

    echo '<div style="clear:both;"></div>';

    Also, you should add more hooks and filters into your plugin so that other developers can customize the output of your code. Its nearly impossible to do anything custom with your plugin.

    http://wordpress.org/extend/plugins/wp125/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.