jquery – Scrollbar not hidden in Internet Explorer

Question:

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 .

EXAMPLE

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

Answer:

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

.divOverflowHidden{
  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