>How to get alternating row colors in a table or a list?
>
>I know of solutions with Javascript but I am looking for something that
>would be done with CSS only, I don't want to have to have a class for
>the even rows (or odd). Now that we have CSS 2.1, with "counter" and
>"content", does anyone have an idea?
>
>Thanks
>
>Fred

Fred:

There may be a css way to do this, but I don't know it.

I solved the problem by using php -- see:

http://xn--ovg.com/demo

You can view the source code -- no one would not want to write that by hand.

If interested in my solution, please contact me off-list.

If someone knows a css way of dong this, please enlighten us both.

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com
______________________________________________________________________
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/

Reply via email to