page layout dont show correctly in IE browsers

Discussion in 'CSS' started by yibman, Nov 18, 2007.

  1. #1
    Hi All

    I hope one of you can help me with a little problem i have. My problem is that my page shows with a little gap between the #header and the #navigation in IE. In opera and firefox the page shows correctly. I have a example of my css code below and have attached a screendump from the IE,opera and firefox browser.Hope somebody can help me.

    * { padding: 0; margin: 0; }body { font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: center;}#wrapper { margin: 0 auto; width: 666px; <strong>text-align: left;</strong>}#header { width: 666px; color: #333; border: 0px solid #ccc; height: 90px; background-color: E9DFB9; background-repeat: no-repeat; background-position: center; margin: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; background-image: url(beachinterface5.jpg);}#navigation { width: 666px; color: #333; padding: 0px; border: 0px solid #ccc; height: 150px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: #ffffff;}#content { width: 666px; color: #333; border: 0px solid #ccc; padding: 0px; height: 36px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: #ffffff;}#footer { width: 666px; color: #333; border: 0px solid #ccc; padding: 0px; height: 700px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: #ffffff; background-image: url(beachinterface2.jpg); background-repeat: no-repeat;}
     
    yibman, Nov 18, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Please format your code, use the [code ] and [/code ] tags (without any spaces between code and ] please) and show me the HTML code that goes along with this (or better yet, just link to the page) so I can see what's going on.
     
    Dan Schulz, Nov 19, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    Dan's right. One big compressed line like that isn't worth the time to deal with, and without the HTML that goes with it ... it's pretty much meaningless.

    URL please?
     
    deathshadow, Nov 19, 2007 IP
  4. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Provide Your Url Or No One Can Help You
     
    Crimsonc, Nov 21, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You know Crimsonc, given that tomorrow's Thanksgiving, the original poster may have other things keeping him (or her) from getting back to this thread. Also a lot of new people tend to ask the same question on multiple forums hoping to get an answer. This could be the case as well.

    As they say, patience is a virtue. :)
     
    Dan Schulz, Nov 21, 2007 IP
  6. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #6
    true, but it was started 4 days ago my local time and being in the UK I have no idea when Thanksgiving is :)
     
    Crimsonc, Nov 21, 2007 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Dan Schulz, Nov 21, 2007 IP
  8. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Regardless, without a URL it's very hard to help. Happy Thanksgiving!
     
    Crimsonc, Nov 21, 2007 IP