I'm using jQuery sortable()
on a table with border-collapse: collapse
. Something strange happens with the spacing between the rows in Chrome and Safari. It seems ok in IE, FF, & Opera.
Here is an example: http://jsfiddle.net/benstenson/LMqNH/
border-collapse: separate
is one option.
Calling $('table').hide.show(0)
on the sortable() stop event is another option.
Anyone know what the problem is?
Here is a screenshot after moving the rows around.
I've been working on this for a while. The closest I've been able to achieve is this:
http://jsfiddle.net/rogerblanton/EtC2E/1/
I changed a little bit of the CSS to put the border on something different and it looks pretty close if not exactly what you want.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With