overflow

English [???v??fl??]

vt.& vi. ??, ??, ??; ??

vi. ????, ????

adj.

CSS ???? ?? ???

Role: overflow ??? ???? ?? ??? ????? ? ???? ??? ?????.

??: ? ??? ??? ??? ??? ???? ???? ???? ??? ?????. ?? ????? ??? ????? ?? ??? ???? ??? ????? ?????. ??? ?? ??? ?? ?? ?? ?????? ??? ??? ??? ? ????.?

??: ?? ?? ????? ???? ??? ?????. ?? ? "inherit"? ?? ??? Internet Explorer(IE8 ??)?? ???? ????.

CSS ???? ?? ?

<html>
<head>
<style type="text/css">
div 
{
background-color:#00FFFF;
width:150px;
height:150px;
overflow: scroll;
}
</style>
</head>
<body>
<p>如果元素中的內(nèi)容超出了給定的寬度和高度屬性,overflow 屬性可以確定是否顯示滾動條等行為。
</p>
<div>
這個屬性定義溢出元素內(nèi)容區(qū)的內(nèi)容會如何處理。
如果值為 scroll,不論是否需要,用戶代理都會提供一種滾動機(jī)制。
因此,有可能即使元素框中可以放下所有內(nèi)容也會出現(xiàn)滾動條。默認(rèn)值是 visible。
</div>
</body>
</html>
???? ?? ?

??? ????? ??? "???? ??" ??? ?????