On Thu, 2007-10-04 at 12:28 -0700, Daevid Vincent wrote: > This was a joke right? You don't seriously do this in r.l. just to alternate > row colors I hope? This certainly was NOT a joke. I do use CSS classes. As for using a PHP class to implement the cycle-- No, I don't do that IRL. As I said in my post: "I show a simple OOP example (because I felt like it)" There's nothing wrong with using a class though. Some people like that kind of encapsulation. If you're hung up on the use of CSS classes to do something simple. Imagine a site with hundreds of pages, many of which contain tables with alternating row styling. By using classes, I've ensured a single location to update the way my rows are presented across the entire site. I don't need to touch the markup or code to change how they look. This is how separation of markup and styling is supposed to work. If you didn't know that then you may need to go read about CSS. If you thought you knew about CSS and still disagree, then you need to go reread about CSS because you didn't absorb it properly the first time. Cheers, Rob. -- ........................................................... SwarmBuy.com - http://www.swarmbuy.com Leveraging the buying power of the masses! ........................................................... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php