Is it possible to achieve only horizontal overflow in CSS 2.1?
overflow: auto;
Will cause a block element to have both horizontal and vertical scrollbars. I want a block element (let's say <div>
) which will display only horizontal scrollbars. How do I do that?
Try overflow-x: auto;
It even works in IE6!