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

[eluser]NateL[/eluser]
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
#2

[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.
#3

[eluser]NateL[/eluser]
Kudos to you :-)




Theme © iAndrew 2016 - Forum software by © MyBB