5

I have just a simple line of code...

overflow-x: scroll;

... and it causes a scroll bar to appear in Chrome. How do I tell it to go away unless I need it?

0

1 Answer 1

12

overflow:auto; will show scroll bars only if required.

Sign up to request clarification or add additional context in comments.

1 Comment

Yes! This is right answer! But some notice: use ` overflow: hidden; overflow-x: auto;` instead overflow:auto; only

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.