<!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <!DOCTYPE html> <meta charset="utf-8"> <title>Reference without scrollbar</title> <style> #outer { width: 200px; height: 200px; overflow: auto; background: cyan; } #content { height: 0px; } </style> <div id="outer"><div id="content"></div></div>