On 22 August 2010 22:07, Abder-Rahman Ali <li...@ruby-forum.com> wrote:
> Colin Law wrote:
>> On 22 August 2010 15:24, Abder-Rahman Ali <li...@ruby-forum.com> wrote:
>>> I have created a "main.css", and referred to it in
>>> "application.html.erb" as follows:
>>>
>>> <%= stylesheet_link_tag "main" %>
>>>
>>> But, in my "main.css" there is NO "field" class.
>>>
>>> don't you think it is built in Rails itself?
>>
>> Have a look in scaffold.css which was made by the scaffold generator.
>>
>> Colin
>
> Thanks Colin.
>
> In public/stylesheets I have created a custom .css "main.css".
>
> There is no such classes there.

Do you mean that class field is not defined in scaffold.css?  I am not
using Rails 3 so I cannot confirm this but I would be surprised if it
is not there.  If not then just put whatever style you want for that
class in your own stylesheet.

Colin

-- 
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.

Reply via email to