Columnizer不均匀地划分列

时间:2015-09-14 14:55:38

标签: javascript jquery

当使用div和子div时,Columnizer将列不等分(在第一列和第二列中有空格)。下面的脚本我用来调用columnize函数。

 $('.nav-menuSub > a:first-child').addClass('dontend');
            $('.menuSub-list').columnize({
                width : 200, //per column width
                //height : 550
            });

enter image description here

1 个答案:

答案 0 :(得分:0)

I was using display:none css with the sub div. columnizer does not consider display:none CSS. Just removing that CSS solved the issue.

相关问题