1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

IE problem

Discussion in 'HTML & Website Design' started by DOAD, Apr 7, 2010.

  1. #1
    I'm having a slight problem in ie, the <div> that is white is not wrapping around the light red part it works fine in firefox and chrome but does not in ie. how do i go about fixing this

    Preview:
    [​IMG]
     
    DOAD, Apr 7, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    Anything we say will be just a wild guess without the complete markup or a link. However, my wild guess is the red box is floated, right? Parent elements are never to expand to contain floated elements. There are several ways to "clear floats". One is to make the parent div floated, too. A more common method is to add 'overflow:auto' to the parent div.

    If none of those work, let us know.
     
    drhowarddrfine, Apr 7, 2010 IP
    DOAD likes this.
  3. DOAD

    DOAD Peon

    Messages:
    136
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Worked like a charm... thanks mate :)
     
    DOAD, Apr 7, 2010 IP
  4. ChrisBR

    ChrisBR Greenhorn

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    I think it's all comon knowledge now, IE will ALWAYS have problems :)
     
    ChrisBR, Apr 7, 2010 IP