If I have a table like this very very simple example:
table {
table-layout:fixed;
width:300px;
}
.td1 {
width:100px;
}
.td2 {
width:200px;
}
and in one of my `.td2` contains an image that is, lets say, `300px` in `width`. I would like to show scroll bars to allow users to scroll to see it all. However I don't think this is possible, is it?
So my questions are:
1. Are there any other options apart from `hidden` for handling overflow in tables?
2. Is it possible to show scroll-bars only when content pushes beyond a set width? (I swear I've seen it in some forum software but I can't remember which one)
以上就是Handling overflow in tables的详细内容,更多请关注web前端其它相关文章!