hatwal — 2011-09-29T12:15:45-04:00 — #1
I am having a single row which repeat dynamically.
My issue is i want to make alternate colors in rows. (i.e white n gray)
I can put the class for the row. but when it repeats it get the same bg color.
How can i do the alternate thing.?
system — 2011-09-29T19:20:27-04:00 — #2
post the code that generates the rows
paul_wilkins — 2011-09-30T00:29:36-04:00 — #3
Have you tried using the CSS code that deals with odd/even rows?
hatwal — 2011-09-30T13:46:47-04:00 — #4
Hi i dont hv any idea how to use this..Can u give me any example for this?
hatwal — 2011-09-30T13:48:08-04:00 — #5
paul_wilkins — 2011-09-30T19:35:11-04:00 — #6
It looks like you are using CSS to create fake tables on your site. It is okay to use tables for tabular data, such as your list of cables and desktop accessories. It is even beneficial, in that achieving odd/even rows then becomes a simple effect to create.
<td><a href="...">Belkin SuperSpeed USB 3.0 A to B (Male/Male) Cable 3</a></td>