Forums
This topic is locked
need help-css border evry 2 row dynamically
Replies
Replied 17 Apr 2008 11:51:10
17 Apr 2008 11:51:10 Glenn Barr replied:
How about putting a counter on it to track rows, then just use mod to get the even rows...
Something like:
If counter mod 2 > 0 Then
Make sure you increment the counter every iteration too...
HTH.
Something like:
If counter mod 2 > 0 Then
Make sure you increment the counter every iteration too...
HTH.
Replied 17 Apr 2008 19:27:22
17 Apr 2008 19:27:22 Alan C replied:
define two css classes, one for border on, one for border off
variable x=1;
if x=1 then use border on class else use border off class
multiply x by -1
loop ends
I only write php so you'll have to write it in asp <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
that's how I did something similar
variable x=1;
if x=1 then use border on class else use border off class
multiply x by -1
loop ends
I only write php so you'll have to write it in asp <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
that's how I did something similar