title: Formatting of html tables in GSP
body: <p>I am using Grails and I am currently faced with this problem.</p>
  
  <p>This is the result of my html table
  <img src="https://i.stack.imgur.com/QBAZY.png" alt="enter image description here"></p>
  
  <p>And this is my code from the gsp page</p>
  
  <pre><code>    &lt;tr&gt;
          &lt;th&gt;Device ID&lt;/th&gt;
          &lt;th&gt;Device Type&lt;/th&gt;
          &lt;th&gt;Status&lt;/th&gt;
          &lt;th&gt;Customer&lt;/th&gt;   
      &lt;/tr&gt;
  &lt;tr&gt;
  &lt;g:each in = "${reqid}"&gt;
          &lt;td&gt;${it.device_id}&lt;/td&gt;
  &lt;/g:each&gt;
  
  &lt;g:each in ="${custname}"&gt;
          &lt;td&gt;${it.type}&lt;/td&gt;
          &lt;td&gt;${it.system_status}&lt;/td&gt;
          &lt;td&gt;${it.username}&lt;/td&gt;
  &lt;/g:each&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>So the problem is, how do I format the table such that the "LHCT271 , 2 , Thomasyeo " will be shifted down accordingly? I've tried to add the <code>&lt;tr&gt;</code> tags here and there but it doesn't work.. any help please?</p>