title: how to design table with div tag
body: <p>suppose i have table and code is</p>
  
  <pre><code>&lt;table cellspacing="1" class="style1" style="width:40%;" border="1"&gt;
          &lt;tr&gt;
              &lt;td&gt;Row 1 - Col 1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Row 2 - Col 1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Row 3 - Col 1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Row 4 - Col 1&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Row 5 - Col 1&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  </code></pre>
  
  <p>i want to generate same output with div. please guide me with sample html.
  thanks</p>