On 3 Nov 2008, at 10:17, Ishara Gunathilake wrote:
> can anyone tell me how can i apply css tag to ruby codes
I''m not sure that means anything at all. If you want to style the
pages you produce with rails using css then
- either the tags themselves are just in the .erb files: do as you
usually do
- if they are generated by a rails helper (eg form_for, link_to),
these all take a hash of html options which you can use to set their
class and so on (or inline styles if you are so inclined)
Fred
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---