Remove "margin" from responsive image on site by CSS

2

Good afternoon! I'm a beginner in web-based programming, and I'm having trouble removing a space that I call the "margin" of the background image on the page, which is responsive to a width:100% (). width of the page, but it is not totally occupying, this one presenting a small "margin" ) I wanted it to be without this "margin" ie leaning completely in the corner of the window, can give me sujestoes than this problem is it?

    
asked by anonymous 07.10.2016 / 18:24

2 answers

0

Use

html, body{
   margin:0px !important;
   padding: 0px !important;
}
    
07.10.2016 / 19:19
0

You tried your style sheet:

*{
    margin:0;
    padding:0;
    border:0;
}

This is a form used in resets , and means that everything will have margin:0 , and then you will need to explicitly declare the elements that will contain margins.

    
07.10.2016 / 19:10