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 6 of 6
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Damn IE to hell! Help please!

    Hi, I'm a newbie here, and pretty new to css too. In the past i've managed to work this things out but i'm really stuck on this one.

    Basically, my layout looks great in Firefox, but when I switch to IE it's cack!

    What i think is happening is the content on the right is dropping to the bottom of the content on the left...but i've played with it and I just can't work it out.

    Would really appreciate any help on this one.

    www.simonmerrick.co.uk/newsite/

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I think you will benefit from this example http://bonrouge.com/2c-hf-fixed.php
    I'm not sure what you are trying to do with the massive -480px margin. Just float the inner div to the right give that a width, then let the content fall into place. May have to give the content a right margin equal to the width of your inner div.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New to the CF scene
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your speedy response. I'll try what you suggested.

    The layout there was taken from this site http://intensivstation.ch/templates/

  • #4
    New to the CF scene
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hey aerospace eng,

    I did what you suggested and recoded my page to the template you linked me too.

    I still appear to have the same display problems in IE though

    Can anyone help me out?

    www.simonmerrick.co.uk/newsite/

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You did exactly the opposite of what I told you to do. Try this for the relevant CSS
    Code:
    #main {
    float:left;
    width:480px;
    text-align:left;
    }
    
    #right {
    position:relative;
    width:262px;
    float:left;
    background-color: #e5f0ce;
    }
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #6
    New to the CF scene
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    right you are...thanks very much for your help. I am new to all this.

    I appreciate it!


  •  

    Posting Permissions

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