[Rails] css background not showing

2012-10-31 Thread wragen22
Hi all, for some reason adding the following is doing nothing... .post.hover { background: FAFAFA; I've got this in my posts.js coffee file $ - $('.post').hover (event) - $(this).toggleClass(hover) and my index is % @posts.each do |post| % div class=post strong%= post.title %/strong p%=

Re: [Rails] css background not showing

2012-10-31 Thread Jim Ruther Nill
On Wed, Oct 31, 2012 at 2:28 PM, wragen22 bradwr...@gmail.com wrote: Hi all, for some reason adding the following is doing nothing... .post.hover { background: FAFAFA; I've got this in my posts.js coffee file $ - $('.post').hover (event) - $(this).toggleClass(hover) and my index

Re: [Rails] css background not showing

2012-10-31 Thread Tommaso Visconti
Il 31/10/12 07:28, wragen22 ha scritto: Hi all, for some reason adding the following is doing nothing... .post.hover { background: FAFAFA; Any ideas? background: #FAFAFA ?? -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

Re: [Rails] css background not showing

2012-10-31 Thread 鍋島 永道
it not work. background: FAFAFA; it work. background: #FAFAFA; 2012/10/31 Jim Ruther Nill jvn...@gmail.com On Wed, Oct 31, 2012 at 2:28 PM, wragen22 bradwr...@gmail.com wrote: Hi all, for some reason adding the following is doing nothing... .post.hover { background: FAFAFA; I've

Re: [Rails] css background not showing

2012-10-31 Thread Jordon Bedwell
On Wed, Oct 31, 2012 at 1:28 AM, wragen22 bradwr...@gmail.com wrote: Hi, for some reason adding the following is doing nothing... Please note this list is for Rails questions, not HTML/CSS questions. .post.hover { background: FAFAFA; FAFAFA is not a valid value for background, and you

Re: [Rails] css background not showing

2012-10-31 Thread wragen22
That was it for some reason kept overlooking that I didn't have the #.. Sorry all. On Tuesday, October 30, 2012 11:35:01 PM UTC-7, Jordon Bedwell wrote: On Wed, Oct 31, 2012 at 1:28 AM, wragen22 brad...@gmail.com javascript: wrote: Hi, for some reason adding the following is doing