Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Huge Gap in IE6 & IE7 - Using Conditional Comments

    Using IE If Statements to target the bugs in different versions of Internet explorer.

    IE 8 is perfect!

    IE 6 & 7 are giving me a huge gap between my first content box and whatever is below it. On every page except the home page.

    I've been playing with the conditional statements and can't figure out what is causing it.

    Below is the css for that top content box...

    <code>
    #wrapper #body #apartments-header {
    height: 250px;
    width: 900px;
    background-image: url(../images/apartments-headerBG.png);
    clear: left;
    float: left;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    }
    </code>

    Also, here is a link to the live site
    kamohousing.com

    Your help is greatly appreciated!

  • #2
    New Coder
    Join Date
    Jul 2008
    Posts
    55
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Try this out.

    <code>
    #wrapper #body #apartments-header {
    height: 250px;
    width: 900px;
    background-image: url(../images/apartments-headerBG.png);
    clear: left;
    float: left;
    background-repeat: no-repeat;
    position: relative;
    bottom: 10px;
    margin-bottom: 100%;
    }
    </code>


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •