Overflowing a container div horizontally but not vertically

后端 未结 2 635
半阙折子戏
半阙折子戏 2021-01-20 05:40

I\'m working on a website that uses two columns inside a container. The container has a white background that should stretch to the bottom of whichever column is highest, so

2条回答
  •  心在旅途
    2021-01-20 06:14

    The easiest fix in this case seems to be adding
    before the closing tag for #container.

    You can change it to
    and .clearfix{clear:both} if you wish.

提交回复
热议问题