/* a few default styles to start off... */ #a { width: 50%; height: 300px; background-color: orange; } #b { width: 50%; height: 100px; background-color: lightblue; position: absolute; } p { background-color: lightgray; }