On Sun, Aug 22, 2010 at 9:21 AM, Abder-Rahman Ali <li...@ruby-forum.com> wrote: > Bill Walton wrote: >> On Sun, Aug 22, 2010 at 8:26 AM, Abder-Rahman Ali <li...@ruby-forum.com> >> wrote: >>> I just want to ask, how can we make that notice with a different color >>> and background? Should we do this manually by HTML for example? >> >> Change the values in the selector in application.css >> >> HTH, >> Bill > > I made some changes in "application.html.erb" as follows: > > <font face="verdana" color="green" ><%= flash[:notice] %></font> > > And it did what I was looking for.
Inline styling will certainly work but it has very much fallen out of favor. You will do yourself a favor, professional reputation-wise, by learning to use css selectors. Best regards, Bill -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.