title: Add margin on both sides of free space(background) in Html - css page
body: <p>I am trying to add margin on both sides of free space in Html. and fill background in the middle remaining part only.</p>
  
  <p>But this id doesn't work when i put it in body tag.</p>
  
  <pre><code>#bodyid{
      display: block;
      margin-left:  100px;
      margin-right:  100px;
      background-color: #E3EAEA;
  }
  </code></pre>
  
  <p>above given colors are random. Result should be like this.</p>
  
  <p><img src="https://i.stack.imgur.com/Z4S1s.png" alt="capture[![this should be the result">]<a href="https://i.stack.imgur.com/Z4S1s.png" rel="nofollow noreferrer">1</a></p>
  
  <p>Thanks for helping.</p>