overflow-y Attribute | overflowY Property--------------------------------------------------------------------------------Sets or retrieves how to manage the content of the object when the content exceeds the height of the object.SyntaxHTML { overflow-y : sOverflow }
Scripting object.style.overflowY [ = sOverflow ] Possible ValuessOverflow String that specifies or receives one of the following values:visible Default. Content is not clipped and scroll bars are not added. Elements are clipped to the size of the containing window or frame.
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.
Scripting object.style.overflowY [ = sOverflow ] Possible ValuessOverflow String that specifies or receives one of the following values:visible Default. Content is not clipped and scroll bars are not added. Elements are clipped to the size of the containing window or frame.
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.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货