FixedColumn Firefox Scrollable area alignment issue?

FixedColumn Firefox Scrollable area alignment issue?

jasonwsazjasonwsaz Posts: 5Questions: 0Answers: 0
edited February 2014 in General
For some reason the scrollable area of the table is slightly misaligned from the fixedColumn. About 2px shifted downward. I've mocked up a demo only using the base code.


http://jsfiddle.net/jasonwsaz/d8ALH/

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    It is caused by the `border-collapse: collapse` in Bootstrap. If you add `table { border-collapse: separate }` to your CSS it works okay: http://jsfiddle.net/d8ALH/7/

    border-collapse: collapse is just a nightmare to use when doing any form of calculations! In that case it was causing border-bottom-width for the hidden header cells to be 1px, despite the fact that they specifically have border-bottom-width: 0 on them... Possibly a bit of a Firefox bug as well.

    Allan
This discussion has been closed.