Forum:Sortable incompatible

On w:c:finalfantasy, Sortable doesn't work. After some testing, people have determined that the cause was the class "table" which is used to stylize tables. You can view the results at or http://finalfantasy.wikia.com/wiki/Town_Theme?oldid=1472037#Final_Fantasy_V

The table class's CSS is as follows: table.table {border-collapse:collapse;} table.table > tbody > tr > td, table.table > tbody > tr > th, table.sortable.table > thead > tr > th {padding:2px;border:2px outset black;} table.table tr.no-table > td, table.table tr.no-table > th, table.table td.no-table, table.table th.no-table {padding:0;border:0;}

I haven't bothered testing undoing the borders because they shouldn't make a difference, but I have tried setting the padding of the second rule to 0px and the third to inherit; neither seems to work.

So, is it possible to tell why this happens, and if there's a workaround? Cat (meow ∙ hunt) 01:49, October 18, 2012 (UTC)


 * Completely delete the padding:2px part in the 2nd line. Don't set the padding to 0px. Delete it. That will solve the issue. If you want to add padding again, you'll have to change around the CSS selectors a bit so that a different padding value (or none) is added to header cells (the th tag), because padding on header cells is what is causing the problem, since the sortable class adds a background image to header cells and its positioning is affected by padding.
 * Hmm. Firebug seems to indicate that it works. Thanks. Cat (meow ∙ hunt) 02:25, October 18, 2012 (UTC)