title: set div background color in body
body: <p>Im trying to set the background color of a div tag that resides in a body tag to the entire screen but I have not found a satisfactory solution to this problem:</p>
  
  <pre><code>...
  &lt;body&gt;
    &lt;div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  ...
  </code></pre>
  
  <p>How can I set the background color of the whole page from the div tag that resides in body?</p>
  
  <p>doing</p>
  
  <pre><code>div {
    background-color: green;
  }
  </code></pre>
  
  <p>doesn't turn the background green.</p>