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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (2,974)