when scroll not fixed code example Example: fixed div with scrollable content .fixed-content { overflow-y:scroll; overflow-x:scroll; }