SyntaxHTML { overflow: sOverflow } 
Scripting object.style.overflow [ = sOverflow ] Possible ValuessOverflow String that specifies one of the following values: 
---------------------------------------------
visible  Content is not clipped, and scroll bars are not added. scroll   Content is clipped, and scroll bars are added even if the content does not 
exceed the dimensions of the object. hidden   Content that exceeds the dimensions of the object is not shown. auto     Content is clipped, and scrolling is added only when necessary. 
 
用scroll试试看