Ahoj Tomasz, ano Polsko, nasi severny susedia :D
No, our companies CMS don't uses Smarty as the templating system. But I really don't need to use PHP, Stuart send me another type of solution, so now it is working fine in IE too, just with CSS solution. Erik Tomasz Staniak wrote: > Witaj Erik ;) > > >> Witam Tomasz :) >> > > Ah, Slovak - hello there, neighbour ;) > > >> Maybe this helps, but this gallery is generated in PHP, so I must to >> write some script to it, I hope I can implement it if there isn't any >> other solution. >> > > If it's using Smarty template engine, the code could look like: > > {section name="section-name" loop="$images"} > ...some code... > {if ($smarty.section.section-name.iteration is odd/even)} > <hr class="clear" /> > {/if} > {/section} > > AFAIR > > As for the PHP alone, there are multiple solutions for this. > > There are other non-programming solutions, but the ones I know aren't > reliable enough > - maybe others here have some better ideas. > > Well, I may be wrong, but you could also try to add overflow: hidden; > to every row container. Or, add clear: both; to it. But I see, that > you don't have a container for each row. > > ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/