HTML & CSS · Junior · Question 59 of 75
How does overflow: auto differ from overflow: scroll?
- ✓Correct answer:
autoshows scrollbars only when content overflows;scrollalways reserves them - 2
scrollhides overflowing content - 3They are identical
Explanation
overflow: hidden clips content without scrollbars. On many systems overlay scrollbars hide the difference, but on Windows scroll shows empty scrollbar tracks.