IE display problem

Discussion in 'CSS' started by edr, Nov 21, 2006.

Thread Status:
Not open for further replies.
  1. #1
    Hi All,

    Have a display issue on IE (Firefox works great) on a client site I am working on - can someone check out the CSS and give me a hand? The right hand column drops below the left hand side on IE.

    http://www.webcomponents.biz/CMC/index.asp

    Thanks in advance for any help!
     
    edr, Nov 21, 2006 IP
  2. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    IE does width calculations slightly different than other browsers, so basically one of the columns is too wide for the container that holds them both.
     
    crazybjörn, Nov 21, 2006 IP
    edr likes this.
  3. edr

    edr Guest

    Messages:
    784
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank You Thank You Thank You - Reputation Coming Your Way!
     
    edr, Nov 21, 2006 IP
  4. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #4
    search google for 'IE css hacks' it should show you how to fix it so IE uses a different css file to FF so you can fix this prob :)
     
    just-4-teens, Nov 21, 2006 IP
  5. Cutting Edge

    Cutting Edge Guest

    Messages:
    270
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    There are many 'hacks' you can utilise for CSS, where Firefox will overlook the hack, and IE will pick up on it (or vice versa, I've forgotten which so you'll need to find out).

    Find the piece of code which determines the wrong-size you're having and bung this piece of code in ASWELL as the current piece of code:

    * html divname {whichever-measurement:-sizepx;}

    That ought to patch it up.
     
    Cutting Edge, Nov 21, 2006 IP
  6. crazybjörn

    crazybjörn Peon

    Messages:
    270
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I do believe that the star hack has been fixed in IE7, so better of just by using the IE conditionals and linking to a seperate CSS style sheet for IE and override the values in there.
     
    crazybjörn, Nov 21, 2006 IP
Thread Status:
Not open for further replies.