| sitelink1 | http://www.w3schools.com/jsref/prop_style_overflow.asp |
|---|---|
| sitelink2 | http://msdn.microsoft.com/en-us/library/...s.85).aspx |
Definition and Usage
The overflow property sets or returns what to do with content that renders outside the element box.
Syntax
Set the overflow property:
| Object.style.overflow="visible|hidden|scroll|auto|inherit" |
Return the overflow property:
| Object.style.overflow |
| Value | Description |
|---|---|
| visible | Content is NOT clipped and may be shown outside the element box. This is default |
| hidden | Content outside the element box is not shown |
| scroll | Scroll bars are added, and content is clipped when necessary |
| auto | Content is clipped and scroll bars are added when necessary |
| inherit | The value of the overflow property is inherited from parent element |
IE 에서는 inherit 가 지원되지 않음에 주의해야 한다