WordPress.org

Support

Support » Plugins and Hacks » Footer Whitespace

Footer Whitespace

  • I just spent an hour looking for my error when whitespace appeared below my footer. I understand that I can use the CSS rule, and the problem is now fixed, but …

    As a theme designer, I would rather not have to rely on the end-user to choose the CSS option. Couldn’t you apply the clip method to the image:

    img {
    	position: absolute;
    	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    	clip: rect(1px, 1px, 1px, 1px);
    	height:0;  /* Chrome */
    }

    Change your code to this:
    <img style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); height:0;" />

    Height zero is for chrome, but max-height:1px will be ok if necessary.

    Thanks!

    http://wordpress.org/extend/plugins/cookies-for-comments/

Viewing 3 replies - 1 through 3 (of 3 total)
  • i have the same problem

    where i have to add this?

    Travis

    @tjtaylor

    Just wanted to mention that I added this to my css and it worked perfectly, thank you for this post to get me started!

    img[alt="css.php"] {
    	position: absolute;
    	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    	clip: rect(1px, 1px, 1px, 1px);
    	height:0;  /* Chrome */
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Footer Whitespace’ is closed to new replies.