At 04:01 AM 2/27/2006, Paul Annett wrote: >Is there a way I can give a DIV a random background color? From a list >of pre-defined colors?
"Ya cain't get thar from here." CSS can't do it. OT: Random number generation is built in to today' scripting languages, e.g. in PHP rand(0,255) generates a number between 0 and 255 and can be called three times for the three color components rgb(r,g,b). Paul ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/