Hello. Who can tell how to fix the page in the center so that the appearance of the scroll does not affect it? Example: VKontakte.ru
Thank you in advance.
Hello. Who can tell how to fix the page in the center so that the appearance of the scroll does not affect it? Example: VKontakte.ru
Thank you in advance.
Well, you could go in contact and see ...
A style is applied to the body.
overflow: hidden To body, you need to apply the property:
overflow: scroll; It makes the scroll always visible, so the page does not jump. But overflow: hidden; on the contrary, it will remove the scroll forever, which is why the user will not be able to scroll the page.
position: fixed; for what should not move.
Source: https://ru.stackoverflow.com/questions/349305/
All Articles