Mattia Semprini Mattia Semprini - 1 month ago 7
CSS Question

CSS issue with div wrapping another

i have a problem, i cant manage to wrap properly my section.

I have a div "container" that with a php part is populed by few div, and i dont know how to porperly wrap with border:solid my created div.

sorry for my bad english i hope you understood what i'm saying.
i attached a immage as exampleThis is my problem, the grey part need to go under the last box

Answer

Set the "container" divs overflow styling to auto.

container{
   overflow:auto;
}