0

我正在使用带有以下初始化的 jQuery 插件 DataTables ( http://www.datatables.net/ ):

$('#reconcile_table').dataTable( {
'bSort'          : true,
'bFilter'        : true,
'bSortClasses'   : false,
'iDisplayLength' : 200,
'bPaginate'      : true,
'sPaginationType': 'full_numbers',
'bProcessing'    : true,
'sDom'           : '<"top"pf>rt<"bottom"i><"clear"l>'
});

我正在使用带有样式的“full_numbers”分页。使用我的 CSS 样式代码,它在 Firefox 中看起来不错,但在 IE 中,分页导航按钮被缩减为一条条,就像它们被某种方式剪裁了一样。

我不能使用图像,因为我是新用户,所以我有点卡在那里进一步解释自己。任何有关 IE 中发生的事情的帮助都会受到赞赏,因为我自己无法弄清楚!:)

谢谢,道格

4

1 回答 1

2

... better late than never; I think you may have an error with your "padding" properties in the CSS. IE handles padding very differently to FF, especially if it thinks the element is "empty".

Try adding a width and height attribute to the pagination links in your CSS. Hope that helps you out.

于 2011-03-09T13:05:24.223 回答