divs acting weird

Discussion in 'CSS' started by Tommy Arnold, Nov 21, 2009.

  1. #1
    Thread closed
     
    Last edited: Nov 21, 2009
    Tommy Arnold, Nov 21, 2009 IP
  2. sageman

    sageman Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there are a number of things you should take a look at:
    do you have an outer wrapper div around the divs? if so, check the width and make sure it is wide enough to accommodate the sub divs you have.

    you should also add a break under the 3 divs with this css code applied to it:

    .clearfloat {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
    }
     
    sageman, Nov 21, 2009 IP