WordPress.org

Ready to get started?Download WordPress

Forums

IE white space at top of window (3 posts)

  1. tjinh200
    Member
    Posted 8 years ago #

    wp 1.5
    tested in IE and FF

    I've searched the forum for this problem, but perhaps can't search properly or it has not been covered (most likely, just didn't search properly). anyway:

    I have tested this on a new install/simple layout, and the outcome is the same. For some reason, there is just a 15-20px white space above the start of the actual content (header.php) What could be the source of this problem?

    I know you might ask for the CSS but it's quite lengthy, and messy right now. It'd be fairly difficult to search through until I clean it up a bit.

    Just wondering if there were any "quick" fixes, quick ideas? (also, it's not on the site linked from my name)

  2. Michael Bishop

    Posted 8 years ago #

    There are no "quick fixes" regarding IE and CSS. There are several general fixes, such as the box-model hack and the clearfix, but there are inherent differences in how IE and standard browsers measure paddings and margins, so it's not as simple as one fix. My suggestion, is to tighten the design to complete XHTML and CSS validation, and THEN tweak for IE. Any thing else, you'll wind up with it looking half cocked in both browsers.

  3. Jimz
    Member
    Posted 8 years ago #

    I had the same problem! This is how to get IE6 to get rid of the white space.


    body{
    margin: 0 0 0 0;
    }

    The latest versions of Opera, Netscape, and Firefox allow you to use either negative margins or padding, cant remember which!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags