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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors