Can you have <tr> tags in a repeater?

I seem to remember on a past template I was working on, that there was a limitation around putting <tr> or <td> tags inside of a <repeater>.

I'm now working on another template that would be easiest to design by creating a new table row for each repeater item, but I don't want embark on this if it won't work.

Can anyone tell me if this is still a limitation of the <repeater> system? I would really appreciate it. Thanks!

- Chris

tobyb tobyb, 5 years ago

Hey Chris,

You can currently only have a single table row per repeater item, so

<repeater>
<tr><td>Blah</td></tr>
</repeater>

is valid, whilst

<repeater>
<tr><td>Foo</td></tr>
<tr><td>Bar</td></tr>
</repeater>

is not. Hope that helps.
Toby

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098