<!DOCTYPE html> <style> body { overflow:hidden; } </style> <p>The word PASS should be visible below.</p> <div style="position:absolute; height:5em; overflow-y:scroll;"> <div style="height:15em;">PASS</div> </div>