table设置100% 外部div设置横向滚动,但是里面的table折行了 需要这么设置
div{
width: 100%;
background: #fff;
white-space: nowrap;
overflow: hidden;
overflow-x: scroll;
}
table td{
border: 1px solid #000;
}
table{
width: 100%;
height: 200px;
}
table设置100% 外部div设置横向滚动,但是里面的table折行了 需要这么设置
div{
width: 100%;
background: #fff;
white-space: nowrap;
overflow: hidden;
overflow-x: scroll;
}
table td{
border: 1px solid #000;
}
table{
width: 100%;
height: 200px;
}