Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
gsrikar33
Advocate II
Advocate II

CSS Styling(only text Color) is not getting applied in thorugh the Power Automate Flow

Hello Team,

 

I am using Power Automate to send the PBI report data in an email.

Formatting the PBI report data in a HTML table before sending in email in Power Automate Flow.

All formatting operations are working fine except text-color for the (<td>) table data.

 

The CSS works fine in a web-based HTML compiler.

gsrikar33_0-1733485051202.png

 

But I don't see the text-color styling for the same in my email.

gsrikar33_1-1733485256150.png

 

Please help me understand where am I doing wrong here.

 

Thanks,

Srikar

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @gsrikar33 

The issue you're experiencing is that the text color style for tabular data isn't being applied in an email sent via Power Automate, even though it works fine in the web-based HTML compiler. This is a common problem due to the different ways in which different email clients handle CSS. Email clients have limited support for some CSS properties.

Maybe you can check the following links:

HTML Emails: Everything You Need To Know | monday.com Blog

 

Format an HTML Table with CSS and add links in Power Automate

 

Power Automate HTML Table Styling and Formatting

 

Solved: HTML/CSS Formatting Altering When Sending Email - Power Platform Community

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi, @gsrikar33 

The issue you're experiencing is that the text color style for tabular data isn't being applied in an email sent via Power Automate, even though it works fine in the web-based HTML compiler. This is a common problem due to the different ways in which different email clients handle CSS. Email clients have limited support for some CSS properties.

Maybe you can check the following links:

HTML Emails: Everything You Need To Know | monday.com Blog

 

Format an HTML Table with CSS and add links in Power Automate

 

Power Automate HTML Table Styling and Formatting

 

Solved: HTML/CSS Formatting Altering When Sending Email - Power Platform Community

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SaiTejaTalasila
Super User
Super User

Hi @gsrikar33 ,

 

It might be due to below reasons -

Some email clients (like Outlook) have limited support for advanced CSS properties or selectors.

The dynamic content might not generate the expected styles for specific conditions.

 

You can open a ticket with Microsoft support for more details.

 

I hope it will be helpful.

 

Thanks,

Sai Teja 

lbendlin
Super User
Super User

How is this question related to Power BI?

 

Where are you adding the css meta data in your flow? as part of the email body?  Can you confirm that it survives the delivery process? Is your mail client able to parse and render that tag?

Hi,

 

I am not using "create html table" option.

I composed HTML table in Flow. This gives me option to add CSS also.

gsrikar33_0-1733727530577.png

gsrikar33_1-1733727676940.png

 

Yes, all other styles are getting applied except the colors to data in <td> tags.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.