forget this, try http://www.w3.org/Style/Examples/007/evenodd.en.html
- so, make your strips with CSS, not with your application tom On Feb 13, 2013, at 20:24 , Philip Rhoades <[email protected]> wrote: > People, > > For zebra striping tables on basic Rails apps I have quite happily used: > > <tr class="<%= cycle('oddrow', 'evenrow') %>"> > > in the table listing in index.html.erb with > > table tr.evenrow { background-color: white; } > table tr.oddrow { background-color: silver; } > > in the application style sheet but I can't get it to work with the 960 Grid > System stuff. > > I have messed around using "tbody" tags and nth-child etc but can't get > anywhere - anyone got any clues? I can't find any mailing list or other > support for 960gs. > > Thanks, > > Phil. > -- > Philip Rhoades > > GPO Box 3411 > Sydney NSW 2001 > Australia > E-mail: [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- =============================================================================== Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz =============================================================================== -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

