• Im at a loss, since I had this working and it suddenly stopped in IE. Take a look at http:/www.sumaira.net in IE.
    Click on any post that has comments…and look at the gray box around the comments….
    Now look at it in Firebird…etc….its alternating colors and a margin-bottom of 10px….
    Here is the code Im using…suggestions??
    <?php if ($comments) { ?>
    <ol id="commentlist">
    <?php foreach ($comments as $comment) { ?>
    <div class="<?=($i%2)?"color1":"color2";$i++;?>">
    <li id="comment-<?php comment_ID() ?>">
    <?php comment_text() ?>
    <cite><?php comment_type(); ?> <?php _e("by"); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ "><?php comment_time() ?></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?>

    <?php } // end for each comment ?>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Alt colors for comments not working in IE….’ is closed to new replies.