How can I create an "autosize" container for Firefox

Discussion in 'CSS' started by +:::Spider25:::+, Jul 25, 2006.

  1. #1
    Hi ,
    IE explorer give automatically size for its containers divs when its inner content get more or less volumme,

    FF doesn't. What Can I make this task possible?

    Thanx a lot:confused:
     
    +:::Spider25:::+, Jul 25, 2006 IP
  2. Gordaen

    Gordaen Peon

    Messages:
    277
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For the div, you can set the style to "display: inline;" and then add a <br /> after the closing div tag. You could also do "float: left;" instead, if applicable (adding <br style="clear: left;" /> if you want the next content below).
     
    Gordaen, Jul 25, 2006 IP
  3. +:::Spider25:::+

    +:::Spider25:::+ Peon

    Messages:
    69
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanx a lot ... :)
     
    +:::Spider25:::+, Jul 31, 2006 IP