philwilson.org

1 post tagged with "float"

See all tags and the latest posts

646

24 July, 2003 - 105 words
Question: Given ten divs all with float:left one after the other (let’s call each div “box”), all inside a containing div (which we’ll call “boxholder”, they won’t be displayed as such due to the floats taking the boxes out of the normal flow. In order to make the boxholder expand to the size of its contents, you can put another box at the end with ...

read more