[HTML] How to add table borders in text tool - eml format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Morning all.
I have a workflow that creates a email draft with attachments. It also creates the body of an email, however I am trying to create a table with borders using html commands. The problem is, the table is created but the borders dont show up.
I was hoping someone here in the community to know html and help me out with this doubt. I would be great to fix this.
Its line 21 in text tool!
Thank you very much!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Joker_Hazard
I have modified your HTML code with CSS and now HTML code shows table borders. Please note that it is best practice to use <th></th> syntax for table headers and <td></td> syntax for columns. Hope this is what your looking for and solves your concern.
<html>
<head>
<style>
table, th, td {border: 2px solid BLACK ;border-collapse: collapse;}
</style>
</head>
<body>
<table><tr><th>First Name</th><th>Last name</th></tr></table>This is an email with test <b>attachments</b>
</body>
</html>
I was under impression that you are facing issues with HTML code. Let me know if you have any questions with regards to workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This is absolutely incredible! Thank you very much @Amol_Telore
Excuse my extra questions, however I need some opinions from an expert.
How can I add background colours? And, How to have same width on the cells to be more visual?
thanks!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Joker_Hazard I am not sure if i get your question completely. But if you were asking about increasing the width of cell, I have added width property. You can modify property as per your need.
Regarding first question, background-color property is used to add coloring in table. Below is updated code.
<html>
<head>
<style>
table, th, td {
border: 2px solid BLACK ;
border-collapse: collapse;
background-color:lightblue;
width:400px}
</style>
</head>
<body>
<table><tr><th>First Name</th><th>Last name</th></tr></table>This is an email with test <b>attachments</b>
</body>
</html>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Amol_Telore,
Thanks for your excellent solution, but my specific data disappears in Email table. Could kindly check what's wrong in my case, thanks.
The letter after equal sign & before another sign disappears with following sign, I believe that code is "AB=Z</td>" and then transferred by "AB=/td>". Please find an example in attach.
Thanks a lot if you can advise some solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @HugoT
Hope you are doing well.
Will you able to create a sample workflow and replicate the issue? This will help me to understand what you are trying to achieve and your issue in more detail. Thanks!
Also, I am on business visit from tomorrow so please expect a little delay in response.
Regards,
Amol Telore
