Ian, on Wednesday, December 13, 2006 at 12:27 Ian Young wrote:
>> You could try defining a class for even rows -- then add >> something like that >> to your code: >> >> <tr <?=$par++%2?'class="even"':''?>> >> > Already tried that -I can do it in php, but want a css solution. There is no css-only way until browsers will support css3. You should go the php way and generate different classes for the alternating rows. For further reading on css3 selectors: http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#structural-pseudos regards Martin ______________________________________________________________________ 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/