一般是这样: 表格的标题和内容分别由一个table组成,其中表格内容的table由一个class="table-body"的div包裹.css如下 .tContainer .table-body{height:134px;overflow:hidden;} .tContainer .table-body:hover{overflow-y:auto;} 效果如下: index ticker Citi Commodities Pre-Roll GSCI F0 CVICG0ER Citi C
转自:http://www.cnblogs.com/linjiqin/p/3148225.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>给table新增水平滚动条</title> <meta http-equiv="keywords" content=&quo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" c