Forums
This topic is locked
how ? diff. alignment for pictures in repe. region
11 Mar 2003 08:05:05 alex ax posted:
hi folks !first of all please excuse my bad germanenglish... thx.
so, i look for a solution or simple for a tutorial to change the aligment of a picture, from left to right, in every second row of a table. or, i.e. in the first row is the picture in the left colum, in the second row is the picture in the right colum. or without colums so i can to use a blind-gif's to give a nicer layout
and the text can floating around the pic.
need i a additional field in my dbase ?
align?
thanks a lot. alex
Replies
Replied 12 Mar 2003 04:48:22
12 Mar 2003 04:48:22 alex ax replied:
this works :
<img src="../images/<%=(rsArtikel.Fields.Item("picture"
.Value)%>" height="80" align="<%
If (Repeat1__numRows Mod 2) Then
Response.Write("left"
Else
Response.Write("right"
End IF
%>"" width="100">
<img src="../images/<%=(rsArtikel.Fields.Item("picture"

If (Repeat1__numRows Mod 2) Then
Response.Write("left"

Else
Response.Write("right"

End IF
%>"" width="100">