Why does the CSS property overflow:scroll;
not work in <td>
, while overflow:hidden;
works well?
<table border="1" style="table-layout:fixed; width:100px">
<tr>
<td style="overflow:scroll; width:50px;">10000000000000000000000000000000000</td>
<td>200</td>
<td>300</td>
</tr>
</table>
Firstly provide desired height to td and then Apply "float: left" property to respective "td" you want scrollbar to appear.
You have to wrap it in a div, that will work:
I got something from here!
The main thread is here.