How to force div to appear below not next to another?

前端 未结 6 1136
野的像风
野的像风 2021-01-30 12:07

I would like to place my div below the list, but actually it is placed next to the list.The list is generated dynamically, so it doesn\'t have a fixed hight. I would like to hav

6条回答
  •  轮回少年
    2021-01-30 13:02

    what u can also do i place an extra "dummy" div before your last div.

    Make it 1 px heigh and the width as much needed to cover the container div/body

    This will make the last div appear under it, starting from the left.

提交回复
热议问题