this will do the trick
#outer {
position: absolute;
overflow: hidden;
height: 200px;
width:100%; // added this to make the outer div width 100%
}
Suggested by sfjedi
if you have issues w/ margins
and/or padding
giving you an unwanted horizontal scrollbar
, use css box-sizing: border-box
so the 100% width
doesn't throw you off