Vertical scrollbar

1

My site has a scroll bar just below Footer.

#main {

    display: -ms-grid;
    display: grid;

    grid-template-areas: "header header" "nav nav" "content aside" "footer footer" "privacidade privacidade";
}

#main is an id that I put in section , which is within body , all content on my site is within section .

In my code there is the display -ms-grid; and the display grid . If I get the display grid; the scroll bar disappears, but my layout is all clunky.

I do not know how to deal with the prefix -ms- , it was put there in my code by an auto prefix site, to be compatible with IE.

Does anyone help me?

    
asked by anonymous 17.08.2018 / 00:08

1 answer

0

Try to add overflow-x:hidden; to the element you want, or directly to body body{overflow-x:hidden;}

    
17.08.2018 / 00:15