|
|
Q3002 What is the easiest way to alternate table row colors when outputting query results?
irt.org | Knowledge Base | ColdFusion | Q3002 [ previous next ] Q3002 What is the easiest way to alternate table row colors when outputting query results?As an example, the following code alternates between white and a light gray. If (CurrentRow MOD 2) is 0 (i.e. the row number is an even number), it uses the first color value, otherwise (odd number) it uses the second color value.
Feedback on 'Q3002 What is the easiest way to alternate table row colors when outputting query results?' |
-- div -->
|