Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 自定义tablesorter箭头图像_Jquery_Tablesorter - Fatal编程技术网

Jquery 自定义tablesorter箭头图像

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

我正在使用jQuery表排序器。我想用我自己的箭头图像替换默认箭头图像。我添加了

.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;
}