On 23 August 2010 09:07, Abder-Rahman Ali <[email protected]> wrote: > Colin Law wrote: >> On 22 August 2010 22:26, Abder-Rahman Ali <[email protected]> wrote: >>> I'm using Rails 3. And, as mentiond I don't have "scaffold.css", and >>> have "main.css". >>> -- >> >> In your original post you said you are working from >> http://edgeguides.rubyonrails.org/getting_started.html. In section 6 >> it says that the scaffold generator will build 15 files, including >> scaffold.css. Did it not build that file for you when you ran the >> scaffold? >> >> Colin > > It actually did build "scaffold.css". > > The case is I have created another application and entered a custom > "main.css" and wondered how the classes still work while the stylesheet > that contains its classes is not there.
It would have saved a lot of time if you had said that in the first place. :) What do you mean by 'the classes still work'? There is no need for a class to have a css entry, the data will still be displayed, using whatever is the current style at that point in the page. 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 [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.

