title: How to handle default margin in asp.net MVC
body: <p>I am working on an MVC project. when trying to add a cover poster to the page, getting some margin in two sides. I tried several codes to get the image in full width, but it doesn't work.</p>
  <p>what I tried,</p>
  <p>This is my full html and css.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>    .cover {
          background-image: url("https://images.pexels.com/photos/133633/pexels-photo-133633.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=1260&amp;h=750&amp;dpr=1");
          height: 100vh;
          width: 100vw;
          background-repeat: no-repeat;
          background-size: cover;
          background-position: center;
      }
  /*section {
      margin-left: -115px;
      margin-right: -115px;
  }*/
  body,html{
      margin:0;
      padding-top:0px;
      padding-bottom:0px;
      height:50%;
      width:100%;
  }
  
  *{
      margin:0;
      padding:0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>@{
      ViewBag.Title = "Home Page";
  }
  &lt;section&gt;
      &lt;div class="cover img-fluid"&gt;&lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>