title: HTML email <tr> tag border formatting issue
body: <p>I am trying to format the table to have rows separated by lines.Even tried using inline styles but nothing worked. Am I missing anything here? </p>
  
  <p>Expected output : <a href="https://i.stack.imgur.com/XWTZx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XWTZx.png" alt="enter image description here"></a></p>
  
  <p>Output I am getting : <a href="https://i.stack.imgur.com/hUTvt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hUTvt.png" alt="enter image description here"></a></p>
  
  <p>Here is the perl code that I am using to generate the HTML for the email : </p>
  
  <pre><code>my $section_html = '';
  $section_html.=qq(&lt;table&gt;&lt;tr style="border : 1px solid black;"&gt;&lt;td&gt;Hello1&lt;/td&gt;&lt;td&gt;Hello2&lt;/td&gt;&lt;/tr&gt;&lt;tr style="border : 1px solid black;"&gt;&lt;td&gt;Hello3&lt;/td&gt;&lt;td&gt;Hello4&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;);
  
  my $email_html = &lt;&lt;EOF;
  &lt;html&gt;&lt;head&gt;&lt;style type="text/css"&gt;
  body, td, th, strong { font-family: Verdana; font-size: 11px; }
  
  
  table {
      border:none;
      border-collapse: collapse;
      text-align:center;
  }
  
  table td {
      border-left: 1px solid #000;
      border-right: 1px solid #000;
  }
  
  table th {
      border-left: 1px solid #000;
      border-right: 1px solid #000;
  }
  
  table td:first-child {
      border-left: none;
      text-align:left;
  }
  
  table  td:last-child {
      border-right: none;
  }
  
  table tr{
  border-top : 1px solid #000;
  }
  
  table tr{
  border-top : 1px solid black;
  }
  
  
  &lt;/style&gt;&lt;/head&gt;
  &lt;body bgcolor="#ffffff"&gt;
  &lt;span style="font-size: 20px"&gt;Report Header&lt;/span&gt;$section_html&lt;/body&gt;&lt;/html&gt;
  EOF
  
  # Write to file
  open(FILE, "&gt;/var/weekly_report/"."report"."_"."testing".".html") or die "Unable to open file for writing: $!\n";
  print FILE $email_html;
  close(FILE);
  
  
  # Email weekly report
  my $msg = MIME::Lite-&gt;new(
      To         =&gt; 'XXXX@somedomain.com',
      Subject =&gt; 'Report subject',
      Type    =&gt; 'text/html',
      Data    =&gt; $email_html);
  
  
      $msg-&gt;send();
  </code></pre>