Forum Discussion

ash42's avatar
ash42
New Contributor III
4 years ago

Email Sender Snap Include two different table

This is some part of html code that I m using to include in Email body

'

<tr>

    <th>Description</th>

    <th>Record Count</th>

  

  </tr>

  <tr>

    <td>Total Record Count In File</td>

    <td>'+ _Rowcount + '</td>

      </tr>



        </table> 

        <br/><br/>

        Total Successful Record Count In File :' +  _ValidRecords+'<br>

        Total Error Record Count In File :'+ _InvalidRecords+'

        

        <br>Error Records Description<br><br>

    <table  class="hovertable"> 

    </table>'

Here first table is just a table with 1 row with static values and for the second table tag rows will be populated from input document.
This is working ok,but the issue i am facing is both the table are sticking together even if i have defined them separately in html code. Also the text expected above the second table is also pushed down. refer screenshot below:

…I ran the same html code in my local browser and was getting expected results(Two separate tables)

Is there any fix for this,so that i get two separate tables

4 Replies

  • Hello @ash42 ,

    Are you able to apply CSS to the tables?
    If yes, you can use the margin attribute on them.

    Regards,
    Marjan

    • ash42's avatar
      ash42
      New Contributor III

      yes…also have given two separate style class which is working fine as given in 2nd image but not not in snaplogic emailbody