Ian,
Not sure what's already been suggested, but I have this, which is
working
<tr>... </tr>
<tr class="alternate"> ... </tr>
td {background-color: #FFF; }
tr.alternate td {background-color: #eee;}
M.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Young
Sent: 13 December 2006 12:27
To: Fausto; [email protected]
Subject: Re: [css-d] 2. alternating coloured rows in dynamic
website(IanYoung)
> 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.
Ian
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.18/584 - Release Date:
12/12/2006 23:17
______________________________________________________________________
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/
______________________________________________________________________
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/