tedd wrote: >> I know of solutions with Javascript but I am looking for something that >> would be done with CSS only
Even CSS3 selectors can't test for this because you can't run calculations per se in CSS - :first-cild and :last-child pseudoclasses exist for contemporary browsers (ie not ie), and there are also ways of determining the object to be styled based on its neighbouring elements - but in a string of elements that can't be differentiated specifically into two distinct attributes to determine odd or even, it's not a possibility in raw CSS. If you want to contemplate this at all you need script to alter the markup pre-rendering (or dynamically). Regards, Barney ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/
