Support » Themes and Templates » 7 extra pixels I can't account for

  • 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 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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.)

    Moderator Andrew Nevins


    Forum moderator

    Try a more relevant forum

    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.

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

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

    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.

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘7 extra pixels I can't account for’ is closed to new replies.