The position attached to <table> does not work in Firefox and Chrome 58

In Chrome 57, the table title will depend, but not for Chrome 58. It turns out that it does not stick to Firefox either.

I'm not sure if both browsers are wrong right now, or it was chrome, but it was wrong, but now fixed. In any case, what is the correct way to make the table title sticky?

+4
source share
2 answers

, Chrome - , .
, , CSS th thead.
, : https://jsfiddle.net/owfmwdpm/

+4

, :

?

- jquery/javascript css.

jQuery / , , , . Css , relative, , fixed, .

: https://github.com/kingkool68/stickyHeader

-1

Source: https://habr.com/ru/post/1675231/


All Articles