Why does order of float div and non-float div matter only in some cases?

后端 未结 2 1700
面向向阳花
面向向阳花 2021-01-18 12:00

I have a similar problem as CSS Auto Margin pushing down other elements: A right floating sidebar gets pushed down below the main non-floating content div. The answer propo

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-18 12:31

    the reason the one you linked works is because the other columns are also floated

提交回复
热议问题