Hi, I hope I'm not fixing to embarrass myself by asking this, because I have a feeling it is really simple, but has just eluded my brain waves. I have a table with several rows which is populated by a database in a while loop. I don't know how many rows the query will return as it is different everytime. I would simply like to alternate the background color of the table for each row. I have tried this but keep running in to some problem. Any Help is great!