title: How to make webpage content not to get collapse or disposition when browser re-sized
body: <p>I have created a webpage and some divisions, spans inside it but when I Re-size the browser's window the division and spans get disposition and collapse or placed over each other, Please tell me a solution for this problem as the whole webpage content remain as it is on re-sizing browsers window just like google.com. </p>
  
  <p>Edit#01-
  This is the Code Snippet:-</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;title&gt;Demo&lt;/title&gt;
  
  
  &lt;/head&gt;
  &lt;body style="
      margin-bottom: 0px;
      width: 100%;    
  "&gt;
  &lt;div id="header" style="
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      height: 49px;
      width: 100%;
      background-color: blue;
      border-bottom: darkblue;
  "&gt;&lt;div style="
      margin-top: 17px;
  "&gt;&lt;span style="
      margin-left: 257px;
      color: white;
      font-weight: bold;
      font-size: larger;
  "&gt;Header&lt;/span&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  &lt;div id="content" style="
    margin-left: 350px;
    margin-right: 350px;
    height: 100%;
    margin-top: 50px;
    border-left: solid 1px blue;
    border-right: solid 1px blue;
    background: lavander;
    box-shadow: 0px 0px 2px rgba(220, 220, 220, 0.22);
  "&gt;
  &lt;div style="
    font-size: 2em;
    padding: 8px;
    padding-left: 16px;
    background: blue;
    padding-top: 6px;
    border-bottom: solid 1px darkblue;
    padding-bottom: 5px;
    color: rgb(72, 72, 72);
    margin-bottom: 11px;
  "&gt;Content&lt;/div&gt;
  
   &lt;input type="Email" name="email" title="Email" id="email"      placeholder="Enter       your email here" required="required" spellcheck="false"    style="
    margin-left: 21px;
    height: 37px;
    width: 590px;
    border-radius: 5px;
    font-size: 1em;
    outline: none;
    border-style: solid;
    border-width: 1px;
    border-color: blue;
    padding: 5px;
    margin-right: 21px;
    margin-top: 2px;
    margin-bottom: 15px;
   "&gt;&lt;br&gt;
  
  &lt;input type="password" name="pass" title="Password" id="pass" placeholder="Enter your Password here" required="required" spellcheck="false" style="
  margin-left: 21px;
  height: 37px;
  width: 590px;
  border-radius: 5px;
  font-size: 1em;
  outline: none;
  border-style: solid;
  border-width: 1px;
  border-color: blue;
  padding: 5px;
  margin-right: 21px;
  margin-top: 2px;
  margin-bottom: 15px;
  "&gt;&lt;br&gt;
   &lt;hr style="
      width: 589px;
      border: solid 1px darkblue;
             "&gt;&lt;br&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>