It's a common issue that the content of a fixed-size div can overflow if it requires more space. For example, check out this fiddle: http://jsfiddle.net/YaTeG/. My question is: is there a way to prevent this without using JavaScript, similar to how an iframe automatically adds scrollbars when needed?