Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

HTML text widget formatted different when sent as email

I am using an HTML Text widget to format how my email should look like. This gathers details from a gallery & collection, into the formatting that I've created. I tried changing background color of cells, font size, border colors, etc. (see image attachment html)


html Screenshot 2021-11-26 120729.png



"<font size='6px'><table width='100%' border='1' cellpadding='5' style='border:1px solid white; border-collapse:collapse'>
        <tr style='background-color:#911813'>
            <th style='color: #FFFFFF'>" & Label_Header & "</th>
    </table> </font size>
    <table width='100%' border='1' cellpadding='5' style='border:1px solid white; border-collapse:collapse'>
        <tr style='text-align:left'>
            <th><i>"& Label_Date & "</i></th>
            <td>" & Input_Date & " </td>
            <td> <img src='Logo_Quistor.png' style='max-width:50%'></td>
        <tr style='text-align:left'>
            <th><i>" & Label_User & "</i></th>
            <td>" & Input_User & " </td>
            <td>Customer logo</td>
        </tr><tr>" & 




 Then with a button, send this formatting as an email with the Outlook365 connection (see image attachment Outlook). However it disregarded all of my formatting and now looks totally different.

Outlook Screenshot 2021-11-26 121908.png



    "Test Customer Daily Healthcheck Report", 
    HtmlText1.HtmlText, {Attachments:LogoCollection, IsHtml:true})





What am I doing wrong here?

Thank you!

Super User
Super User

try putting the styling in the line e.g.




<td style='text-align:left'>12345</td>

Frequent Visitor

Thank you! That seemed to work for alignment/fontsize.


I tried the same for table border color, however this still did not work. If I set the border color to white with in-line styling, the emailed version is still defaulted as black.

Helpful resources

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,207)