I'm hoping to build a two column layout that will be utilized by a WYSIWYG editor. Example: http://taurean.io/labs/clearcut-theme/essay.html

有帮助吗?

解决方案

You can use CSS3 column-count property for this. Write like this below:

div{
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    column-count: 2;
    column-gap: 10px;
}

Read this for more http://www.quirksmode.org/css/multicolumn.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top