jquery – Scrollbar not hidden in Internet Explorer


I'm creating a site where I use various div elements the size of the page, and links in the top menu that point to those div , making a page scroll effect on each click.

My problem is that in Internet Explorer, the scrollbar doesn't disappear, even if I use overflow:hidden no , body or main div .


Notes: I don't know why but in JSFiddle the code didn't work 100%.


When I had this problem in IE I did it as follows:

  display: inline-block;
  position: relative;

.divFilhos {
  position: absolute;

it worked for me, I don't have that link anymore it was from the OS in English.

Scroll to Top