Jquery 自定义tablesorter箭头图像
我正在使用jQuery表排序器。我想用我自己的箭头图像替换默认箭头图像。我添加了Jquery 自定义tablesorter箭头图像,jquery,tablesorter,Jquery,Tablesorter,我正在使用jQuery表排序器。我想用我自己的箭头图像替换默认箭头图像。我添加了 .tablesorter-default thead .headerSortUp, .tablesorter-default thead .tablesorter-headerSortUp, .tablesorter-default thead .tablesorter-headerAsc { background-image: url( My image ); border-bottom: #00
.tablesorter-default thead .headerSortUp,
.tablesorter-default thead .tablesorter-headerSortUp,
.tablesorter-default thead .tablesorter-headerAsc {
background-image: url( My image );
border-bottom: #000 5px solid;
}
在这里,我尝试了边界为5px的方法。但这种变化并没有反映在我的UI中。请帮帮我
提前谢谢你的建议 这确实有效,但您可能缺少
主题
选项未从“默认值”
()更改的部分:
但是,如果您不想在排序()时更改图像或边框颜色,那么最好只是使css更通用:
我正在尝试将边框底部更改为5px。即使这样也不行。
$('table').tablesorter({
theme: 'default'
});
.tablesorter-default thead .tablesorter-header {
background-image: url( My image );
border-bottom: #000 5px solid;
}