Hi All,
Im currently creating a site will be running off PHP/MySQL database for the content. I wrote the script myself but im having problems with layout and such.
The way it works(In theory at least) is, you enter a new item(Name, path to image, 3 short descriptions) and I want it to be output into a div, the divs are floated left so they automatically center and automatically push them down to the next line as necessary. The site is completely laid out using CSS and Divs..
The problem is this - Because each item is in its own div and is floated they dont seem to be pushing the content container they are in down, the containers height is set to 100% so it should... So now, entries on the 2nd row are clipping into the footer...
Anyone have answer to this question:
1. How can I make it so the divs float but the content container expands as necessary?
Be happy to give anyone that can help me some NP$
Im currently creating a site will be running off PHP/MySQL database for the content. I wrote the script myself but im having problems with layout and such.
The way it works(In theory at least) is, you enter a new item(Name, path to image, 3 short descriptions) and I want it to be output into a div, the divs are floated left so they automatically center and automatically push them down to the next line as necessary. The site is completely laid out using CSS and Divs..
The problem is this - Because each item is in its own div and is floated they dont seem to be pushing the content container they are in down, the containers height is set to 100% so it should... So now, entries on the 2nd row are clipping into the footer...
Anyone have answer to this question:
1. How can I make it so the divs float but the content container expands as necessary?
Be happy to give anyone that can help me some NP$
Last edited:








