title: Auto adjusting web page to screen size (HTML)
body: <p>I have tried several different sources on the Internet. I am not using bootstrap; I enjoy doing my site from scratch. It helps me program. </p>
  
  <p>I can't get my web page to auto adjust to the screen size. For example if you make the browser smaller the page collapse nice and neat. </p>
  
  <p>I tried these codes from here: <a href="http://www.gonzoblog.nl/2013/01/16/11-useful-css-code-snippets-for-responsive-web-design/" rel="nofollow">http://www.gonzoblog.nl/2013/01/16/11-useful-css-code-snippets-for-responsive-web-design/</a></p>
  
  <p>but my web page <strong>doesn't</strong> collapse like the example.</p>
  
  <pre><code>&lt;!--
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
  &lt;meta name="HandheldFriendly" content="true"&gt;
  
     --&gt;
  
  
  
  
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
   &lt;link rel="stylesheet" type="text/css" href="sunpacking.css"&gt;
  &lt;title&gt;Sun Packing WebSite&lt;/title&gt;
  &lt;link href="../../Documents/Sun Packing/sun.css" rel="stylesheet" type="text/css" /&gt;
  &lt;style type="text/css"&gt;
  .div1 {
      margin: 20px;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  
  &lt;div style="width:800px; margin:0 auto;"&gt;
  
  
  &lt;div id="container"&gt;
  data 
  &lt;/div&gt;
  
  
  
  /*Sun Packing CSS */
  
      /*
  body{
  
   padding:0px;
  margin:0px;
  width:100%;
  height:100%;
  
  }
  
  */
  
  
  
  
  #container {
      float: none;
      border-style: dashed;
      border-color: red;
     width: 100%; /* 95px*/
  
      height: 100%; /*1400px*/
      color: red; 
  }
  </code></pre>