css element fixed but scrollable code example Example: fixed div with scrollable content .fixed-content { overflow-y:scroll; overflow-x:scroll; }