how to specify a repeater as a "top" or "bottom" item

So, I want a dashed line to separate the different repeater items in my client's newsletter.

http://bit.ly/np3DX

But what I don't want is a dashed line after the last item.

How do I specify an item as a "top" or "bottom" if it is a repeater? I see the code in the sample template. But I don't know how to incorporate it. 

Thank you!

Mathew Mathew, 7 years ago

When you say you can see the code in the sample, can you let us know what code specifically you are referring to? If it just a class being added, then it is likely to not be a repeating element, but a single editable element instead.

What you probably need is the http://reference.sitepoint.com/css/pseudoclass-lastchild last child pseudo class, but unfortunately we haven't done a lot of testing to see how well supported it is.


Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor

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