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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to