alternate background color in guestbook

anyone done this?
ChadStrat
View Replies:
ChadStrat replied on at Reply
ChadStrat
never mind.

<ul>
<?php $i = 0; ?>
<?php foreach ($comments as $comment) : ?>
<?php $i++; ?>
<li id="comment-<?php comment_ID() ?>"<?php if($i&1) { echo 'class="odd"';} else {echo 'class="even"';} ?>>


.odd {
background-color: #fcf9fc; }
.even {
background-color: #616161; }
cursal replied on at Reply
cursal
Old thread, I know....but

Where is it that I should look for this code?

Is this a find and replace or add both?

uh, and where :)