是否有一种方法来指定CSS3中不同的列宽度? [英] Is there a way to specify different width to columns in CSS3?
本文介绍了是否有一种方法来指定CSS3中不同的列宽度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用css3来表示两列布局。
Hello I would like to use css3 to present a two column layout.
b
<div style="-webkit-column-count: 2;
-webkit-column-rule: 1px solid black;
-webkit-column-width: 80px;
margin-left:20px;margin-top:20px;"
>
<div id="picturebox" style="">picture box</div>
<div id="nme">name</div>
</div>
有一种方法可以让一列的宽度为20px,一列的宽度为80px?
Is there a way to give one column a width of 20px and one column a width of say 80px?
感谢
Hairby
推荐答案
不,没有办法。
此功能专为在相等列之间流动的内容设计。
The feature is designed for content that flows between equal columns.
这篇关于是否有一种方法来指定CSS3中不同的列宽度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文