I have a website which uses 100% width and I accidentally removed the scrollbar.
When I coded back in the scrollbar it's visible but will not scroll down the page. I have the CSS code and the script. What other code do I need to get the scrollbar to scroll down the page?
Here is my existing code within my page:
Site link: http://www.hgcarpentryandjoinery.com/MXJGTV/Index1.html
Please go to the above address and right click and view source code because I don't know how to use this site.
You gave the body position:fixed;
. That property makes it so the body cannot be scrolled. Delete that line and your problem should be fixed.
There's an inline position: fixed
in the body tag. Remove it and fix the whole code because it's pretty messy
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.