How can I apply overflow property on table cell. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I apply overflow property on table cell.

Hello. I have a problem. I want to add vertical scroll bar to this table on cell b2. There is only horizontal scroll bar and it works nice, but I don't want the row to get higher because of one cell and use the scroll bar instead. https://code.sololearn.com/WiBZLVkCsR4e/?ref=app

25th Aug 2018, 5:53 PM
Jan Štěch
Jan Štěch - avatar
4 Answers
0
overflow: scroll;
25th Aug 2018, 7:45 PM
coder_extends_human
coder_extends_human - avatar
0
coder_extends_human It doesn't solve it. First it adds scroll bars to all cells, not just overflowing once and second, the third row remains higher than others.
25th Aug 2018, 7:47 PM
Jan Štěch
Jan Štěch - avatar
25th Aug 2018, 7:49 PM
coder_extends_human
coder_extends_human - avatar
0
coder_extends_human Thanks, but I can't predict which cell will overflow. In my project tha table wil be generated by users and I can't know what will they submit. And maybe it's just my phone, but even in your program it looks higher that other rows.
25th Aug 2018, 7:53 PM
Jan Štěch
Jan Štěch - avatar