更新时间:2023-02-02 22:11:50
可以使用CSS将它们分成列。那就是使用CSS3列属性。但是,它不适用于IE。
It is possible to break them into columns with CSS only. That would be to use the CSS3 columns Property. However, it won't work on IE.
#jtable-create-form {
display: block;
width: 450px;
-moz-column-gap:40px;
-webkit-column-gap:40px;
column-gap:40px;
-moz-column-count:2;
-webkit-column-count:2;
column-count:2;
}
这是工作示例 http://jsfiddle.net/shodaburp/Euwsm/1/ 上面的代码
Here's working example http://jsfiddle.net/shodaburp/Euwsm/1/ with the above code