Re: [Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-14 Thread Javix
Use twitter-bootstrap and you will forget about it: http://twitter.github.com/bootstrap/base-css.html#tables Just add the needed gems into your Gemfile: gem 'bootstrap-will_paginate', '~> 0.0.9' gem 'bootstrap-datepicker-rails', '~> 0.6.37' gem 'bootstrap-sass', '~> 2.2.2.0' and require bootstr

Re: [Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-13 Thread Philip Rhoades
Tom, I put mine last but it didn't help. However, then I used the inspector tool which eventually led me to a better understanding of the supplied stylesheets - and I realised there was already something there for ODD rows ONLY - I missed it before because I was expecting a mention of both od

Re: [Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-13 Thread Tom Meinlschmidt
did you check order of your stylesheets? Your stylesheet should be the last one. Use inspector tool and check style property. or add important to your definition eg table.mytable tr:nth-child(even) {background: #CCC !important;} tom On Feb 13, 2013, at 20:43 , Philip Rhoades wrote: > Tom, >

Re: [Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-13 Thread Philip Rhoades
Tom, I have tried that (if you read more closely you will see) - that is why I was asking if anyone was familiar with the 960gs - their existing style sheets seem to be blocking whatever I try . . Thanks, Phil. On 2013-02-14 06:26, Tom Meinlschmidt wrote: forget this, try http://www.w3.or

Re: [Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-13 Thread Tom Meinlschmidt
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 wrote: > People, > > For zebra striping tables on basic Rails apps I have quite happily used: > > > > in the tab

[Rails] Any Rails + 960gs Gurus here? - zebra striping tables

2013-02-13 Thread Philip Rhoades
People, For zebra striping tables on basic Rails apps I have quite happily used: 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