A
TR
displays a
table-row
by default, and apparently changing that to
inline-block
ensures that IE11 no longer considers it to be a row. No idea
why it does that, but that's not important. You need to deal with the fact that it does and work around it (welcome to the wonderful world of web development). I suggest using jQuery or some other library. With jQuery you can simply do this:
var rowCount = jQuery('#tbl1 tr').length;