search

Home  >  Q&A  >  body text

javascript - The table header is fixed, but the content of the tbody exceeds the fixed height and a scroll bar appears? Just scroll up and down the tbody

PHP中文网PHP中文网2814 days ago943

reply all(4)I'll reply

  • 代言

    代言2017-06-15 09:24:57

    Two tables, one is specially used to display the header and the other is specially used to display the content

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-06-15 09:24:57

    Unless the CSS is set to overflow-y:none; (or other values, forget it). However, if the height cannot be supported, a scroll bar will appear on the right side of the browser. This is probably a feature of the browser.

    reply
    0
  • 滿天的星座

    滿天的星座2017-06-15 09:24:57

    Why not pagination?

    reply
    0
  • 習慣沉默

    習慣沉默2017-06-15 09:24:57

    The header is fake, the idea below is similar
    https://jsfiddle.net/chersquw...

    reply
    0
  • Cancelreply