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, 6 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

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098