This question may be related to a resolved thread.
Hi there,
I thought we’d found a good solution to what should be a simple one (see previous thread).
I’ve just been implementing the solution we found in the previous thread to create a layout that worked across all browsers:
EXPRESSION OPENING TAG
{switch='<div class="row">||'}
CONTENT TO GO HERE…
{switch='||</div>'}
{if count == total_results}
</div><!-- extra switch div -->
{/if}
EXPRESSION CLOSING TAG
Unfortunately, it appears that if this is is used to display entries and the total number of entries is a multiple of three (I’m using a three column layout in this case) an extra, unwanted </div> is added.
This then means that the items following it are displayed incorrectly as the browser thinks the containing div has just been closed.
You can see an example at the bottom of the page here… http://247896-7.temp-dns.com/services
Surely I can’t be the only person facing this challenge?
Any ideas of a solution will be greatly appreciated!