IE7 CSS problems

Discussion in 'HTML & Website Design' started by jtpratt, Jul 6, 2008.

  1. #1
    I have a CSS layout problem.

    View
    http://www.ttownsound.com

    The 4-125 ad block shows up fine in Firefox (to the right) and in the middle of the header in IE7. I'm sure it's a float bug that I can't fix after hours of trying. Any help is appreciated!
     
    jtpratt, Jul 6, 2008 IP
  2. skzubair

    skzubair Well-Known Member

    Messages:
    514
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Try using values in px instead of % also try using display:inline; instead of float, well its hard to tell what you are doing wrong without seeing the actual code :(
     
    skzubair, Jul 7, 2008 IP
  3. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ie has problems with positioning types. Use relative positioning.
     
    007c, Jul 7, 2008 IP
  4. kferguson

    kferguson Well-Known Member

    Messages:
    805
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #4
    i agree use relative position and if u have something inside it then use position absolute.. always try to avoid float this creates major problems in cross browsers compatibility

     
    kferguson, Jul 7, 2008 IP
  5. jtpratt

    jtpratt Well-Known Member

    Messages:
    170
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #5
    thanks to everyone - position relative worked like a charm!
     
    jtpratt, Jul 7, 2008 IP