Wednesday, March 15, 2006

Alternating Contrast in HTML using Ruby and Rails

The Rory on Rails site has a quick tip on using the cycle helper method in Rails. This will allow you to alternate background colors per post (for example) in a comment thread window or for a particular news day.

More about: