简体   繁体   中英

How to remove a 1-second appearance of scrollbars from a div

site is www.onlinefilmbox.com

When it loads, you can see that for a second, horizontal and vertical bars appear on the carousel in the center.

They appear for a second and then gone.

But I wonder - can I remove this short appearance?

I tried "overflow: hidden" and "overflow-x: hidden" + "overflow-y: hidden" and both don't change anything.

any idea?

As the above commenters I don't see the problem either, but I'm pretty sure the problem is that the page loads slower with your computer or internet. I would suggest to use javascript or php to display the page after it's fully loaded. You could also try this:

scrolling = "none"

in the frame in html.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM