WordPress.org

Ready to get started?Download WordPress

Forums

Obnoxious White Line (4 posts)

  1. Rense
    Member
    Posted 6 years ago #

    Could anyone take a look at my css for me and let me know what is causing the white line between the skyline image and the navbar? I put margin: 0 on everything I could find, and while the white line used to be larger, I don't know why it still exists. Help on getting rid of the blackspace at the top would also be appreciated, but it's not as big of an issue to me.

    Site: http://allirense.com/testblog
    CSS: http://allirense.com/testblog/wp-content/themes/makedc/style.css

    Please note that the theme is by no means done--I'm just trying to get the header how I want it at this point!

    Thanks.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Can't tell you why it's there, exactly, but adding margin-top: -3px; to the #navcontainer ul will get rid of it.

    The black bar at the top will go away if you change margin: 20px auto; to margin: auto; on the #page.

  3. Rense
    Member
    Posted 6 years ago #

    Thanks for the tip. It looks great in Firefox and Safari! However, it looks horrid in IE (7): there's a 4px overlap between the skyline image and the navbar, plus the navbar is sticking out a centimeter or so on the right hand side of the page. How can I make this IE compatible?

  4. marjiec
    Member
    Posted 6 years ago #

    I sent you an email with help but just in case anybody else would like to know, the obnoxious white space is caused by the padding in the #dc tag. Change it to 90px and the white space goes bye bye.
    Good luck,

Topic Closed

This topic has been closed to new replies.

About this Topic