> The problem is that the client wants the alignment of
the image in each
> row to
> alternate (i.e. The first row has the image aligned to
the right and the
> next
> row has the image aligned to the left and so on.)
>
> Is this even possible? I would really appreciate any
insights or solutions
> you
> can offer.
If this is a standard DW repeat region, first set a variable
before the loop
somewhere:
<?php $currentRow = 0;?>
Then, on the image tag, add some CSS/PHP
<img style="float: <?php echo($currentRow++ % 2) ?
"left" : "right";?>"
src="etc etc" />
It could be done with a CSS class too.
--
--
Tom Muck, Adobe Community Expert
Dreamweaver Extensions/Articles --
http://www.tom-muck.com/
Cartweaver Development Team -
http://www.cartweaver.com/
Extending Knowledge Daily -
http://www.communitymx.com/