Alternating Rows in PHP | Mark on WordPress

Alternating rows, a.k.a. zebra striping is kind on the eyes. It allows the eye to easily follow rows in a table, or differentiate list items from each other. I see people asking how to do this all the time. And I’ve seen a lot of needlessly complex answers. This can be done in one line.

via Alternating Rows in PHP | Mark on WordPress.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>