非常简单的问题也记下来好了,以免再犯同样错,div 加滚动条

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <head>
   <title>MyHtml.html</title>

   <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
   <meta http-equiv="description" content="this is my page">
   <meta http-equiv="content-type" content="text/html; charset=UTF-8">

   <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

 </head>

<div style="overflow-x: scroll; overflow-y: scroll; width:315px;height:365px;">
       <table width="300" height="100" border="1">        
       <tr><td>行1</td></tr>        
       <tr><td>行2</td></tr>        
       <tr><td>行3</td></tr>  

       </table>
</div>

</body>
</html>      


开始把宽和高加在table上了,给100了div的滚动条还是不出来,后来发现应该加在div上