How to set overflow-y, that it would not affect the width?

Hello.
Please tell me how to set the element overflow-y so that would not affect the width of the content?

For example, the width of the content 600, with the appearance of scrolling it becomes 583.
How to make so that when you encounter scrolling width remained 600, 617 can, that is increased by the width of the scroll?

I will appreciate any tips.
You can of course decide on the JS, but ideally would do without him.

Thank you!
July 9th 19 at 10:04
2 answers
July 9th 19 at 10:06
Make div width 617
width 600 was presented by way of example, upon explicit width on the element is not and can not be. - nolan commented on July 9th 19 at 10:09
July 9th 19 at 10:08
box-sizing
not an option, already in use. - nolan commented on July 9th 19 at 10:11
in extreme cases can be corrected with the help of js: https://learn.javascript.ru/task/scrollbar-width - nolan commented on July 9th 19 at 10:14
js not yet considered as an option, but thanks anyway) - kevon_Torphy commented on July 9th 19 at 10:17

Find more questions by tags CSSLayoutHTML