强制DIV到容器的高度 - 开始新的“列”列 [英] Force DIVs to container's height - start new "column"

查看:59
本文介绍了强制DIV到容器的高度 - 开始新的“列”列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。
$


我设法在容器DIV中放置了几个DIV,一个在另一个下面。

容器DIV有固定高度(关于2个内部DIV的高度。)
问题是内部DIV是在一个"列"中向下和从容器中抽出的。



如何让他们开始新的"列"栏目到达容器的高度时?
$


谢谢。


Amir

Hello.

I managed to place few DIVs, one below another in container DIV.
The container DIV has fixed height (about the height of 2 inner DIVs).
The problem is that the inner DIVs are drawn, in one "column", down and out of the container.

How can I make them start new "column" when reaching the height of the container?

Thanks.


Amir

推荐答案

-ms-flex-box

-ms-flex-box

请参阅IE10试驾站点以获取示例。

see the IE10 test drive site for an example.


这篇关于强制DIV到容器的高度 - 开始新的“列”列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆