我找到了很多答案,但在我的案例中都没有。这是我的jsfiddle。如何去除点?
以下是我所有尝试的基础:
ol {
counter-reset: item;
display: inline-block;
list-style-type: none;
}
答案 0 :(得分:5)
<强> jsFiddle 强>
更改jQuery mobile css中的行:
content: counter(listnumbering) ".";
到
content: counter(listnumbering);
或简单地覆盖添加的UI移动样式:
ol.ui-listview>li>.ui-btn:first-child:before,
ol.ui-listview>li.ui-li-static:before,
ol.ui-listview>li.ui-field-contain>label:before,
ol.ui-listview>li.ui-field-contain>.ui-controlgroup-label:before{
content: counter(listnumbering) !important;
}