I was able to get .wrapper2 correctly to make it absolutely positioned. Using the following 2 lines of CSS, width to fix the width problem caused by absolute positioning.
position:absolute; width:100%;
Final result:
.wrapper{ position: absolute; top: 310px; bottom: 130px; border: 1px solid red; width: 100px; } .wrapper2{ border: 1px solid blue; height: 100%; width:100%; position:absolute; }
source share