Errors in email template code | Community
Skip to main content
August 21, 2014
Solved

Errors in email template code

  • August 21, 2014
  • 11 replies
  • 3493 views
I tried to approve a new email template and got an error message. 

One or more Mkteditable sections have errors. Make sure you have at least one and that they all have valid IDs. 

I then went into the Validate Code section and it showed these errors. Are these grave issues? If not, how do I bypass this so I can approve the template? 

line 11 column 1 - Warning: <style> isn't allowed in <body> elements
line 10 column 1 - Info: <body> previously mentioned
line 370 column 17 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 453 column 10 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 525 column 12 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 692 column 10 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 777 column 12 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 887 column 10 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 970 column 17 - Warning: <table> attribute "cellpadding" has invalid value "10px"
line 1019 column 10 - Warning: <table> attribute "cellpadding" has invalid value "10px"
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by
Eric is correct, you cannot place the div under the table tag. Also, it cannot be inside of the tr tag.  It has to be inside the td tag of a table otherwise it breaks the table. We moved the div tag in David's code outside of the table, but inside of the td tag for the table it was nested under. This gives the user the ability to remove rows within the table in the email editor.

11 replies

August 27, 2014
Thanks Joe for taking the time to help me troubleshoot the template. 

David