Scrollbars on inline elements


Specify how to handle an inline element that has too much text to fit inside its width or height.

Property values

This property is the same as overflow except that it applies only to inline elements. (Not all browsers support this property.)

Use one of these keywords:

visible The text simply overflows the boundaries and overruns whatever else is there.
hidden The text is clipped at the right and bottom boundaries and is not visible.
scroll Vertical and horizontal scrollbars are always visible, but are only enabled if the text is too wide or too high to fit.
auto If the text fits, no scrollbars are shown. If the text is too wide or too high to fit, scrollbars are shown and enabled.


overflow-inline: scroll;

style > position > overflow-inlineScrollbars on inline elements

🔗 🔎