title: How to use <div> instead of <table>
body: <p>How to use <code>&lt;div&gt;</code> tag instead of <code>&lt;table&gt;</code> tags in this html?.I am used this html for sending email from my android application. <code>Html.fromHtml()</code> does not support <code>&lt;table&gt;</code> tags.Therefore,i want to replace <code>&lt;table&gt;</code> tags.But i want my content in  table  format.How can i do this?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Title&lt;/title&gt;
  &lt;/head&gt;
  &lt;body style="background: #FFFFFF; margin: auto; font-family: Helvetica; color: #808080; "&gt;
  &lt;div style="width:537px; margin:auto; "&gt;
      &lt;div style="float:left; width: 537px; color:#000000; margin-bottom:15px; margin-bottom:10px;"&gt;
      ##HEADER## &amp;nbsp; &lt;a href="#" style="color:#3A41A1;"&gt;##TEXT1##&lt;/a&gt;, &lt;a href="#" style="color:#3A41A1;"&gt;&gt;##TEXT2##&lt;/a&gt;, &lt;a href="#" style="color:#3A41A1;"&gt;&gt;##TEXT3##&lt;/a&gt; ]
      &lt;/div&gt;
  
      &lt;table style="width:537px; background:#DAFFF5; float:left; margin-top:10px; border-collapse:collapse; font-size:14px;"&gt;
      &lt;tr&gt;
          &lt;td colspan="2" style="padding:8px;  border: 1px solid black;"&gt;&lt;span style="color:#FF6A00; font-weight:bold; text-transform:capitalize; text-align:left;"&gt;##NAME##&lt;/span&gt; &lt;a href="#" style="color:#006BF2; float:right;"&gt;##LINK##&lt;/a&gt;&lt;/td&gt;
  
      &lt;/tr&gt;
  
       &lt;tr&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#006BF2; width: 90px;"&gt;##TITLE##&lt;/td&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#000000; text-align:left; "&gt;##VALUE##&lt;/td&gt;
       &lt;/tr&gt;
       &lt;tr&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#006BF2; width: 90px;"&gt;##TITLE##&lt;/td&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#000000; text-align:left; "&gt;##VALUE##&lt;/td&gt;
       &lt;/tr&gt;
       &lt;tr&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#006BF2; width: 90px;"&gt;##TITLE##&lt;/td&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#000000; text-align:left; "&gt;##VALUE##&lt;/td&gt;
       &lt;/tr&gt;
       &lt;tr&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#006BF2; width: 90px;"&gt;##TITLE##&lt;/td&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#000000; text-align:left; "&gt;##VALUE##&lt;/td&gt;
       &lt;/tr&gt;
  
       &lt;tr&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#006BF2; width: 90px;"&gt;##TITLE##&lt;/td&gt;
          &lt;td style="padding:8px; border: 1px solid black; color:#000000; text-align:left; "&gt;##VALUE##&lt;/td&gt;
       &lt;/tr&gt;
      &lt;/table&gt;
     .....
  
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks in advance</p>