NS_ERROR_XPC_NOT_ENOUGH_ARGS in Firefox, not in other browsers
NS_ERROR_XPC_NOT_ENOUGH_ARGS in Firefox, not in other browsers
This is really driving me crazy... I've been searching for more than 3 hours and I just can't find what's causing this.
The thead (containing images) does not show correctly AND prevent the table rows from being generated.
The page looks perfect in Chrome, IE and Safari : http://i.imgur.com/kVPkf.png
This is how the page looks like in Firefox: http://i.imgur.com/DXzFW.png
The code for creating the thead:
The css for the rankingheader class:
table.dataTable thead.rankingheader {
vertical-align: bottom;
text-align: center;
background-color: #aaa;
padding-left: 5px;
padding-bottom: 5px;
}
I have been trying all types of things in my css, but nothing helps.
The only way I get the table to be generated right in Firefox, is when I completely delete the thead-code I posted above. So, that's the proof that is must have something to do with that code.
Thanks for helping me out.
The thead (containing images) does not show correctly AND prevent the table rows from being generated.
The page looks perfect in Chrome, IE and Safari : http://i.imgur.com/kVPkf.png
This is how the page looks like in Firefox: http://i.imgur.com/DXzFW.png
The code for creating the thead:
The css for the rankingheader class:
table.dataTable thead.rankingheader {
vertical-align: bottom;
text-align: center;
background-color: #aaa;
padding-left: 5px;
padding-bottom: 5px;
}
I have been trying all types of things in my css, but nothing helps.
The only way I get the table to be generated right in Firefox, is when I completely delete the thead-code I posted above. So, that's the proof that is must have something to do with that code.
Thanks for helping me out.
This discussion has been closed.
Replies
It dissappears when I hide the thead wrapper, so it must be generated by the thead. The number of columns is 17 and the number of is also 17. How come? Firebug gives no errors. The problem occurs in all my datatables (when I'm using theads), so I gues is must have something to do with the code.
Firebug is giving me the following error:
NS_ERROR_XPC_NOT_ENOUGH_ARGS: Not enough arguments
nTh.setAttribute();
DataTables 1.9.4 has:
> nTh.setAttribute('role', 'columnheader');
Your code has:
> nTh.setAttribute();
which is invalid and hence the issue.
Allan