Ready to get started?Download WordPress


7 extra pixels I can't account for (7 posts)

  1. wingbysea
    Posted 2 years ago #

    This is my first go at a wordpress site, I think my brain is melting.

    I have 7 extra pixels that I can't account for in the header.php file. I inserted a table (yes old school whatever) and between the two rows is a 7pixel gap. Cannot figure it out. My site is http://www.michellelorimer.com I'm using the 'build' theme. Nothing in the css file is 7px. Can someone view source perhaps and see my mistake please? I've been staring at it for too long and cannot figure it out!

    Was this the right area to post this?

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    What do you mean by "7 extra pixels"? Are they causing a problem? Can't see anything obvious on the page...

    (Yes, posting here is fine.)

  3. Andrew
    Forum moderator
    Posted 2 years ago #

    Try a more relevant forum

  4. wingbysea
    Posted 2 years ago #

    Hi WPyogi, there is a 7pixel gap between the bottom of the long yellow line, and the top of the rollover menu buttons. They are supposed to hit hard up against the underside of the yellow line. It's killing me, It's a basic table! That's why I wondered if it was somehow related to wordpress or the theme. Maybe I'm just tired and missing something obvious.

    Thanks Andrew, I've never posted to any type of forum for this sort of thing, wasn't sure if here was appropriate.

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Perhaps border-collapse? Look at this page re: styling tables:


    Though frankly, the best solution is to use CSS and not a table.

  6. wingbysea
    Posted 2 years ago #

    I've removed table, using divs now, same thing. So it's not the table!
    I'm shattered, have to hit the hay now, but tomorrow I'll try removing the rollovers and just putting the static images back in to see if that was the problem.

  7. WPyogi
    Forum Moderator
    Posted 2 years ago #

    One problem is being caused by line-height of 1.5 set in the body tag (inherited to this section). Also, you may be able to "solve" the problem by using a negative top margin on the div containing the links -- you'll need to assign a class or id to it in order to assign CSS to it.

Topic Closed

This topic has been closed to new replies.

About this Topic