How do you leave the menu 100% when zooming in the browser?

-2

What I can do to make my menu continue 100% when zooming in on the browser, without having to use position: fixed ... My menu has 100% width and a 1024px banner ... (page is not responsive).

How are you?

.container{width:100%; height:110px; background-color:#bc0000;}

.banner{width:1024px; height:320px; margin:auto background:url(img/banner.jpg) center;}

Thank you

    
asked by anonymous 30.12.2017 / 02:20

1 answer

0

Add the following code to your css. Probably what is happening is that zooming in on the margins and paddings of the html and body increases as well.

    html,body{
        width:100%;
        height:100%;
        margin:0;
        padding:0;
    }
    
01.01.2018 / 14:57