We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Why table border is not visible when notification triggering to outlook?

Ankita Kolhe
Tera Contributor

Hi Community,

 

I created  a notification which consist email script that has html code to create a table.

The table borders is showing when I'm previewing notification in Notification:-

 

AnkitaKolhe_0-1703168874579.png

But when same email triggering to outlook, table border is not showing up:-

AnkitaKolhe_1-1703169035546.png

 

Email Script;-

 

AnkitaKolhe_2-1703169258581.png

 

Could any one please help on this?

1 REPLY 1

Maik Skoddow
Tera Patron

Hi @Ankita Kolhe 

the <table> tag contains the attribute border with invalid value "2px solid black".

This is a CSS style and has to be added to the style attribute:

<table style="border:2px solid black; border-collapse:collapse; width:100%">

 Maik