<tal:loop repeat="item items"> <div> My content </div> <div class="visualClear" tal:condition="python: repeat['item'].number() % 3 == 0"></div> </tal:loop>
Zope ZPT Floated content inside a loop
It usually makes sense to clear the floats at an expected interval, to prevent an item with an unexpected height from breaking the layout.
Snippet Viewed 1483 times.
Share your Zope ZPT code snippets:
- Get some recognition & link back to your site.