title: problem with floated divs in ie6 and ie7
body: <p>i m trying to create a search form and this is it's html code :</p>
  
  <pre><code>&lt;div id="search_form"&gt;
  
  &lt;div class="form-content"&gt;
  
      &lt;form action="http://localhost/mozaic_site/news/search" method="post" accept-charset="utf-8"&gt;                            &lt;div class="text-form"&gt;
  
              &lt;input type="text" name="search_text" value="" autocomplete="off" maxlength="100" size="50" class="search_text" /&gt;                            &lt;/div&gt;
  
          &lt;div class="button_from"&gt;
  
              &lt;input type="submit" name="search" value="بحث في الموقع" class="search_button" /&gt;                            &lt;/div&gt;
  
      &lt;/form&gt;                        
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>and this is it's css code:</p>
  
  <pre><code>#search_form {
  float:right;
  border: 1px solid #C1CAD2;
  position: relative;
  z-index: 3;
  margin-top:1em;
  
  }
  .form-content {
  padding: 0.2em 0.2em 0.22em 0.22em;
  background: url('../images/images_collection_3.png') repeat-x scroll 0 0 transparent;
  border: 1px solid #fff;
  height: 2.1em;
  position: relative;
  }
  
  .button_from {
  float:right;
  background-color: #FCC530;
  border: 1px solid #BD9E43;
  margin-right: 0.3em;
  overflow: hidden;
  padding: 0;
  }
  
  .search_button {
  background: url('../images/images_collection_1.png') repeat-x right -1672px;
  border: 0 none;
  cursor: pointer;
  font-weight: bold;
  height: 1.8em;
  overflow: visible;
  font-size: 108%;
  }
  
  .text-form {
  float:right;
  }
  .search_text {
  height: auto;
  width: 30em;
  border-color: #7B7B7B #7B7B7B #CBCCCE #CBCCCE;
  border-style: solid;
  border-width: 1px;
  height: 1.5em;
  padding: 0.3em 0.2em 0.33em 0.25em;
  }
  </code></pre>
  
  <p>now my problem is in ie6 and ie7 </p>
  
  <p>ie6 make the #search_form div width 100% and ie7 make the form content go out the #search_form div</p>
  
  <p>i tried to discover the problem but i didn't succeed </p>
  
  <p>how to solve this problem ?</p>