html - Mozilla firefox 表列拆分不起作用

标签 html css firefox

我的 View 页面看起来像


<div class="chapterSel">
                    <div class="chapterList" id="chaplist">
<table id="rowtab"><tr><td id="chaptd" style="text-overflow:ellipsis;">
                        <span ng-repeat="chapter in chapters">
                            <label><input id="{{chapter.id}}" type="checkbox" value="{{chapter.name}}" ng-checked="selection.indexOf(chapter.name) > -1" ng-click="toggleSelection(chapter.name,chapter.id)" /><span id="sid">{{chapter.name}}</span></label>
                        </span>
                        </td></tr></table></div></div>

CSS 看起来像


.chapterSel .chapterList {
columns: 2;
-webkit-columns: 2;
-moz-column-count: 2;}

它在除 firefox 之外的所有浏览器上都能正常工作,它只显示 1 列

最佳答案

你的 CSS 有“column-count”...它应该是 -moz-columns: 2;

关于html - Mozilla firefox 表列拆分不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26491955/

相关文章:

javascript - navigator.geolocation不稳定/不可靠,如何从浏览器获得稳定的读数?

html - 溢出 :hidden + display:inline-block moves text upwards

javascript - HTML 追加 jQuery

css - 在 Foundation Framework 中使用 rem-calc() 有什么好处?

html - 包装到内联 block 中时,标签被夹在底部

javascript - 呈现 HTML 时在 Firefox 中禁用容忍度(或启用严格度)

java - SSL fatal error - 握手失败 (40)

HTML 未加载链接的 Css 类型表

html - Spry 菜单文本糟糕的间距

html - CSS float 的行为,如果是前一个则先 float 到第一个