SitePoint
Reference
CSS
Layout Properties
overflow
CSS Live Demo: overflow
(this page)
See also:
All Live Demos
CSS Live Demo: overflow
Type your
CSS
here:
(any properties allowed except expression, behavior and @import)
pre { width:100%; height:200px; overflow:scroll; } pre { border:2px solid #999; background:#eee; font:normal normal normal 0.85em "courier new", monospace; }
Type your
HTML
here:
(any tags allowed except script, iframe, frame, object, img and embed)
<pre>drognagame.prototype.createElement = function(tag, attrs) { var ele = typeof document.createElementNS != 'undefined' ? document.createElementNS('http://www.w3.org/1999/xhtml',tag) : document.createElement(tag); if(typeof attrs != 'undefined') { for(var i in attrs) { switch(i) { case 'text' : ele.appendChild(document.createTextNode(attrs[i])); break; case 'class' : ele.className = attrs[i]; break; default : ele.setAttribute(i, attrs[i]); break; } } } return ele; };</pre>
Show me!
Your results appear here: