title: display div inside table cell with resizing
body: <p>I have a div inside of a table cell with css value of display:none.  When I $.show() it, the cell is slightly expanding to the right.  This works fine when I use the visible property instead of display:none, but I do not want to reserve the height if it isn't needed.  I've tried various display properties as well as rearranging the css width, margins, and padding, as well as removing the background images.  </p>
  
  <pre><code>   &lt;div id='1'&gt;
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;div class='container'&gt;
                  &lt;div class='error'&gt;I am some long ass error that breaks my layout and I can't figure out what to do.&lt;/div&gt;
                  &lt;div&gt;header&lt;/div&gt;
                  &lt;div&gt;
                      &lt;input type='button' value='add to cart'/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
          &lt;/td&gt;
          &lt;td&gt;
  &lt;div class='container'&gt;
                  &lt;div class='error'&gt;I am some long ass error that breaks my layout and I can't figure out what to do.&lt;/div&gt;
                  &lt;div&gt;header&lt;/div&gt;
                  &lt;div&gt;
                      &lt;input type='button' value='add to cart'/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/td&gt;
          &lt;td&gt;
              &lt;div class='container'&gt;
                  &lt;div class='error'&gt;I am some long ass error that breaks my layout and I can't figure out what to do.&lt;/div&gt;
                  &lt;div&gt;header&lt;/div&gt;
                  &lt;div&gt;
                      &lt;input type='button' value='add to cart'/&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  
      #1{width:400px;}
  table {width:100%;}
  tr {border: solid grey;}
  .container{
      border-right: 1px dotted #A5A5A5;
      margin: 25px 0;
  }
  div {
  
      display:block;
      margin:auto;
      text-align:center;
  }
  .error {
      display:none;
      padding-left:20px;
      width:80px;
      table-layout:fixed;
  }
  </code></pre>
  
  <p>Here is a <a href="http://jsfiddle.net/kv6DS/1/" rel="nofollow">fiddle showing the problem</a></p>