![]() | |||||||
Alternating row colours Have you ever wanted to make a table with alternating row colours? Well I did it for a site and thought it would be great to share it. Here PHP Code: See it on action at: http://www.asgsoft.net/mosque/view%...20a%20month.php |
Thank you!!!! This is exactly what I've been looking for lately...I'll try this out as soon as I can get my monitor working :( But thank you so much! |
Nice Tutorial ... another way would be: PHP Code: |
I used something similar to this on my site (in my signature) it works really well. Tables can be hard to read, but alternating colors adds just enough of a difference that you can navigate through them. rep points added to you guys! |
Yes, this is the best way I found. I've been using this way ever since :) |
The second way is usually the method that I use, just much simpler putting the if on one line. |
| All times are GMT -7. The time now is 04:28 PM. |
Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0