• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Create Email Template HTML restrictions

demonboy

Member
Hi,

What are the HTML restrictions of the email template? I want to style my layout so can I include CSS like

<style>
.myDiv {
border: 5px outset red;
background-color: lightblue;
text-align: center;
}
</style>
 
P

Pabblymember11

Guest
Hey @demonboy

Can you specify the location where you're attempting to modify the email template using CSS? Additionally, note that inline CSS works, but internal CSS gets stripped.
 

demonboy

Member
This is in the trigger Pabbly Email Marketing. I'm building an html email body using the fields from my json capture. Will it get stripped from here and, if so, how do I include it? You can see the workflow here:


1000013982.jpg
 
P

Pabblymember11

Guest
Hey @demonboy

The HTML body supports Inline CSS for styling. You can use online inline editors to modify your HTML code.

Reference -https://www.w3schools.com/html/tryit.asp?filename=tryhtml_css_inline

Sample -
1711709770379.png
 

demonboy

Member
Thanks for that. Should I be building a page from scratch and include the html and body tags? On my email client (Thunderbird) I can get away without, but what is the general protocol?
 
P

Pabblymember11

Guest
Thanks for that. Should I be building a page from scratch and include the html and body tags?
Yes, you can rewrite or copy-paste the HTML content with inline CSS and try online. And you wouldn't be required to provide the HTML doctype.
 
Top