title: How do I separate my text box from the label?
body: <p>What I would like is to have a column of labels, and to the right a column of text boxes approximately a few tabs apart and all aligned on (their respective) margins.</p>
  
  <p>So far I have this. However when I resize the screen my text boxes move. How can I make them fixed?</p>
  
  <p>This is the CSS:</p>
  
  <pre><code>#layout {
      background-color: #f5fffa;
      width: 600px;
      padding: 20px;
      border: 5px solid black;
      margin: 0 auto;
      color: black;
      font-family: arial;
      font-size: 15px;
      font-weight: bold;
  }
  
  #zero {
      text-align: center;
  }
  
  #one {
      -moz-border-radius:7px;
      -webkit-border-radius:7px;
      border-radius:7px;
      border:4px solid #18ab29;
      border-width: 4px;
      background-color: #44c767;
      color:#ffffff;
      padding-left: 9em;
      padding-right: 9em;
  }
  
  .myform {
      width:40px;
      text-align: left;
      position: absolute;
      right: 800px;
      height: 1.5em;
  }
  </code></pre>
  
  <p>This is the HTML:</p>
  
  <pre><code>&lt;div id="layout"&gt;
  
  &lt;h1 id="zero"&gt;Title&lt;/h1&gt;
  
      &lt;form id="one"&gt;
      &lt;br&gt;
          &lt;label&gt;input one:&lt;/label&gt;
          &lt;input type="text" class="myform" value="0" /&gt;&lt;br&gt;&lt;br&gt;
          &lt;label&gt;input two:&lt;/label&gt;
          &lt;input type="text" class="myform" value="0" /&gt;&lt;/br&gt;
      &lt;/br&gt;
      &lt;/form&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>I've figured it out:</p>
  
  <p>Add this:</p>
  
  <pre><code>#one label {
      display: inline-block;
      width: 270px;
  }
  </code></pre>
  
  <p>And take away:</p>
  
  <p>position: absolute;
  right: 800px;</p>
  
  <p>from 
      .myform {
          width:40px;
          text-align: left;
          position: absolute;
          right: 800px;
          height: 1.5em;
      }</p>