title: Substitution for display='table-cell' in IE 7
body: <p><code>document.getElementById(id).style.display ='table-cell'</code>. This gives error message in IE, this is IE bug or any other solutions please give any other solutions.</p>
  
  <p>IE7 doesn't support this property.</p>
  
  <p>this is my coding. Even Firefox and Chrome are accepted. My problem is IE. Please friends give solution...</p>
  
  <pre><code>var cont2 = document.createElement('div');
  cont2.style.display = "table-cell";
  cont2.style.verticalAlign = "middle";
  cont2.style.lineHeight = 100+"%";
  cont2.style.padding = 10+"px";
  cont2.appendChild(body);
  </code></pre>