How can I keep a table within its' ancestor's boundaries?

Hi everyone
My code contains one “div” (named “blue”). The div’s height is 15%.
The above div is an ancestor of a child table consisted of 12 lines that extens its’ boundaries.
I’d like to keep the table within the limits of its’ ancestor and to scroll it’s rows within the div’s borders.
My code appears here:

I’ll be grateful to anyone helps me resolve that problem.

Move overflow:scroll; from table to #blue.

1 Like

Thank you so much !!!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.