Edit inline CSS in email | Community
Skip to main content
Jean-Pascal_Mer
Level 4
April 6, 2015
Solved

Edit inline CSS in email

Hi guys,

I'm trying to add some inline CSS to an email, but Marketo comment the codes everytime in the HTML editor. Is there a way to do this?

Basically, I'm trying to add styles to table that would look something like this:

<style>

table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #000000;
}

</style>

Thanks guys!
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
April 6, 2015

I'd had success with inline styling using the "style" tag, like this:

<table style="border-collapse: collapse;">

<td style="border: 1px solid #000000;">

Hope that helps!

5 replies

September 2, 2015

Im still having issues with this. I have a pretty large style sheet im trying to put into my email or even attach to it but its not working well. I figured this would be a simple feature with marketo for advanced email developers.

Translate
February 24, 2016

Hey Nathan,

Did you ever get an answer to this?

Thanks!

Translate
April 6, 2015
Glad to hear it!
Translate
Jean-Pascal_Mer
Level 4
April 6, 2015
Sweet. That fixed my issue. Thanks :)
Translate
Accepted solution
April 6, 2015

I'd had success with inline styling using the "style" tag, like this:

<table style="border-collapse: collapse;">

<td style="border: 1px solid #000000;">

Hope that helps!

Translate