style="overflow-x:auto
html代码:
<!------------利用style="overflow-x:auto"显示横向滚动条------------->
<div id="table3" class="dv-table3-content" style="overflow-x:auto">
<div style="width:200px;">
<input type="text" style="width:99%; padding:0px; margin:0px"/>
</div>
<div style="text-align:center;width:200px;">
<button style="height:20px;" id="calculate3" οnclick="calculate();" class="button white medium">导入污染源数据</button>
</div>
<table width="100%" border="1" cellspacing="0" cellpadding="0" class="altrowstable" style="margin:0px auto;">
<tr id="trheader" class='headcolor' >
<td >时间</td>
</tr>
</table>
</div>
图片展示: