I have a Flow that sends an email containing HTML. It seems that Flow is adding "TEXT-ALIGN: center" as an inline style to the <body> element of my mail content, which then messes up the formatting of my mail. Is this the intended behavior? If so, is there a workaround? I'm not trying to do anything fancy, I'd just like the contents of my email to be left-aligned rather than centered.
Hello, i am trying to center align the body but doesn't work. using power automate web. to send email
"<p style="text-align:center;">Help your clients stay on top of their customers' payments effortlessly with BPI BizKo!</p>"
Can anyone update this ?
its old
w do i fix that
my incoming text email are all aligned on the RH side of my screen
Yes, I've found that this works correctly. However, adding this attribute to every single element in the mail is very tedious so a CSS solution (or a fix to change the existing behavior of automatically adding "text-align: center" to the body) would be preferable.
Hi @kylewhit,
Would you please share more information about which Email Action you used here?
If you are using the Office 365 Outlook Send An Email Action, then please click the Advanced option, there would be Is HTML available to select, set it to Yes, and then use the HTML tag to left-align the Email Body.
<p style="text-align:left;">
This text is left aligned
</p>
Reference:
If this is not the case, then please share a screenshot here, I will then help to take a look.
Regards,
Michael
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional