SOLVED

Unable to approve template even after validating HTML

Go to solution
Eric_Heitz1
Level 2

Unable to approve template even after validating HTML

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

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Eric_Heitz1
Level 2

Re: Unable to approve template even after validating HTML

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: Unable to approve template even after validating HTML

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
Level 2

Re: Unable to approve template even after validating HTML

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

View solution in original post