#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    23
    Rep Power
    0
    Can someone give me some easy code to alternate background colors in table cells?

    ------------------
    Aristotle concluded that those who admit their stupidity are truly wise.
    -
    Gil Hildebrand Jr
    4atcost.com Senior Web Developer
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Washington, USA
    Posts
    52
    Rep Power
    14
    Here's some code to alternate table colors from a mySQL table that I wrote last month: http://www.php-scripts.com/php_diary/073100.php3

    The code for alternating table colors in a loop is there as well, even if you aren't using mySQL

    ------------------
    <UL TYPE=SQUARE>
    <LI> TD Scripts
    <LI> Script School
    <LI>php-scripts
    </UL>
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    23
    Rep Power
    0
    Thanks a lot TDavid. That's exactly what I needed, and exactly what I needed it for.

    ------------------
    Aristotle concluded that those who admit their stupidity are truly wise.
    -
    Gil Hildebrand Jr
    4atcost.com Senior Web Developer

Similar Threads

  1. Photoshop colors and .bmp colors dont match
    By jjose99 in forum Photoshop Help
    Replies: 3
    Last Post: May 21st, 2004, 07:38 PM
  2. Alternating table row colors
    By iDezzign in forum Java Help
    Replies: 1
    Last Post: July 15th, 2003, 05:54 PM
  3. Replies: 3
    Last Post: August 27th, 2002, 12:34 AM
  4. Replies: 5
    Last Post: November 30th, 2001, 02:03 PM
  5. alternating row colors
    By CS in forum Beginner Programming
    Replies: 2
    Last Post: September 26th, 2000, 02:22 PM

IMN logo majestic logo threadwatch logo seochat tools logo