• I am trying to put a table in my header.php file. The table contains images that are split up to make my navigation. You can see my header here:

    https://www.gottapixel.net/blog/

    There is a white line that is appearing, no matter what I do, between the first row of cells and the second.

    How do I remove that white line so it’s fluid?

Viewing 4 replies - 1 through 4 (of 4 total)
  • there’s the “you could use CSS and a single background image and make a much cleaner solution” answer…

    or if you stick with the table I think you need to remove an extra carriage return in the A tag inside the last TD.

    z

    Thread Starter fortissimo

    (@fortissimo)

    Hello.

    Because there are links in the image, making a single background image really isn’t going to fit my needs.

    There are no extra carriage returns, but there is the white line still. How do I fix this while retaining my links?

    Thank you.

    there a many many CSS techniques you could use to avoid the table and image slices – but I understand its easier to sometimes to work with what you’ve got.

    it seems you have removed an extra return as it now works in IE however the prob remains in Firefox.

    to resolve you need to add this style attribute to the table:

    line-height:0px

    The links sre rendered as inline text, giving them the default line-height and causing your line.

    Thread Starter fortissimo

    (@fortissimo)

    Thank you ?? I really appreciate your help. It’s all working now (and I learned something new).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Line in header’ is closed to new replies.