How does table set the vertical scroll bar?

table there are many data entries, but how do you make table appear vertical scroll bars when there are too many data entries?

Apr.05,2021

put the table in a div, the div has a fixed height, and then set a overflow-y: auto to the div.


just fix the height of the outer frame of the table. When the height of the content inside is greater than the height of the outer frame, a vertical scroll bar will appear naturally

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eadd91-46ecd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eadd91-46ecd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?