Need some help with floats

Discussion in 'CSS' started by Derschatten, Oct 22, 2009.

  1. #1
    OK, so i have a template it has a float in it. I need to add multiple divs inside the float. Which is easy but when i add padding to them they do nothing how can i fix this. i am clearing the float.
     
    Derschatten, Oct 22, 2009 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hard to guess without seeing any code, but a guess would be to add overflow:auto to the outer box so it can contain any floats inside it.
     
    wd_2k6, Oct 22, 2009 IP
  3. Rob B

    Rob B Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    or add an overflow:scroll if you want the container div to remain the same size with a scroll bar, hope this help, please try showing us the code so we can diagnose this issue properly
     
    Rob B, Nov 13, 2009 IP