Welcome Guest, Not a member yet? Register   Sign In
Altering table bg color

I'm outputting comments that are made on a specific blog entry and I would like to alter the background color of each comment. Is this something I can do with the HTML helper? Thanks for any assistance Smile

[eluser]Pascal Kriete[/eluser]
There's a function called alternator in the string helper.
You could use that in your loop to switch between two css classes.

Kudos to you :-)

Theme © iAndrew 2016 - Forum software by © MyBB