Comments Validation Error
-
I was just doing some checking of my site and I get a validation error on my comments page saying it’s missing an LI class. The code in question is the following:
<?php if (‘alt’ == $oddcomment) $oddcomment = ”;
else $oddcomment = ‘alt’;
?>What it does is every other comment LI tag, it looks like:
li class=”alt”
which validates but every other comment it looks like:
li class=””
without the word alt. Is this a bug or do I need to add something to my comments.php file? I looked at the default template and it’s the same, so I’m stumped.
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Comments Validation Error’ is closed to new replies.