DOM:window.sizeToContent
From MDC
Contents |
[edit] Summary
Sizes the window according to its content.
The DOM content should be loaded when this function is called, for example after the DOMContentLoaded event.
[edit] Syntax
window.sizeToContent()
[edit] Example
window.sizeToContent();
[edit] Specification
DOM Level 0. Not part of any standard.