WordPress.org

Ready to get started?Download WordPress

Forums

Cookies for Comments
Footer Whitespace (4 posts)

  1. trinzia
    Member
    Posted 1 year ago #

    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/

  2. B_Dark
    Member
    Posted 1 year ago #

    i have the same problem

  3. B_Dark
    Member
    Posted 1 year ago #

    where i have to add this?

  4. Travis
    Member
    Posted 10 months ago #

    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 */
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic