I create a dynamic table. So that she does not move very far down the footer I want a block in which she is in, to make fixed sizes. And when the size is exceeded, a scrollBar appears and it scrolls to the bottom. thanks for the help

Closed due to the fact that the essence of the question is not clear to the participants 0xdb , freim , entithat , mkkik , LFC 17 May at 8:44 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • max-height:500px; overflow:scroll; - Stranger in the Q

1 answer 1

Set the block to the maximum height and enable scrolling:

 .table-div { max-height: 500px; overflow: scroll; } 

For reference:

owerflow max-height