Unable to approve template even after validating HTML | Community
Skip to main content
Eric_Heitz1
Level 2
November 26, 2014
Solved

Unable to approve template even after validating HTML

  • November 26, 2014
  • 2 replies
  • 1478 views

Getting this error when attempting to approve a template: "One or more mktEditable sections have errors. Make sure you have at least one and that they all have valid IDs."

Each area has a different ID and the HTML is valid.
Can I nest the DIVs outside the table tag?

Here is some sample code from my template, using the ZURB Ink format:

<table class="row">
                    <tr>
                      <td class="wrapper last">
                      <div class="mktEditable" id="image-left">
                        <table class="twelve columns">
                          <tr>
                            <td class="four sub-columns text-pad">
                              <img src="http://placehold.it/200x155" alt="" class="center">
                              <small class="show-for-desktop">caption here</small>
                            </td><td class="eight sub-columns last left-text-pad">
                              <h5>Headline Here!</h5>
                              <p>A fairly common use case for the container is to give your text a white background to separate it from a colored email body. To assist with this design pattern, we've included three helper classes with Ink: .text-pad, .left-text-pad and .right-text-pad.</p>
                              </td>
                            <td class="expander"></td>
                          </tr>
                        </table>
                      </div>
                      </td>
                    </tr>
                  </table>

Any help would be great!
Thanks,

Eric

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_Heitz1
Thanks for the reply Joanna.
I actually found my one editable class that did not have an ID. Banging my head on my desk!!

I am using the ZURB Inliner to add my styles inline automatically. This is new for me. So far it is working.

Thanks again!
Eric

2 replies

November 26, 2014
Hi Eric, you can do this. Do you have DIVs anywhere else in your template?  If you put just this code in as your template (of course with the head & body tags), you should be able to approve the email template.
Eric_Heitz1
Eric_Heitz1AuthorAccepted solution
Level 2
November 26, 2014
Thanks for the reply Joanna.
I actually found my one editable class that did not have an ID. Banging my head on my desk!!

I am using the ZURB Inliner to add my styles inline automatically. This is new for me. So far it is working.

Thanks again!
Eric