title: css - how to stretch and auto-resize background image
body: <p>I'm trying to get my background image to stretch across the entire page, but so far i have this:</p>
  
  <p><img src="https://i.stack.imgur.com/2hP8C.jpg" alt="enter image description here"></p>
  
  <p>This is the picture i want stretched across the browser window:</p>
  
  <p><img src="https://i.stack.imgur.com/qGLho.png" alt="enter image description here"> </p>
  
  <p>My external CSS contains the code below:</p>
  
  <pre><code>hr {color:sienna;}
  p {margin-left:20px;}
  body {background-image:url("mybackground.jpg")} 
  </code></pre>
  
  <p>Can anyone tell me how I can edit the CSS file to fix my problem?</p>