<!DOCTYPE html> <html> <head> <style type="text/css"> #abs-pos { position: absolute; top: 20px; left: 20px; width: 200px; padding: 40px 0; background-color: lightgreen; } #in-flow-child { height: 100px; background-color: green; } </style> </head> <body> <div id="abs-pos"> <div id="in-flow-child"></div> </div> </body> </html>