Fernando Perez wrote:
> Hi,
> 
> It's not specifically related to Rails, but how do you arrange your CSS
> files?
> 
> I used to dump everything in a gigantic screen.css file. Then I noticed
> that some rules only appeared in a few pages.
> 
> Therefore I am considering having a layout.css for all pages and roughly
> 1 css file per controller if I need specific things in it that are not
> found in layout.css.
> 
> How do you organize that?

The latter way.  I also *highly* recommend using Sass: CSS alone is not 
powerful enough to fully separate content from presentation in a 
maintainable way -- Sass' higher-level abstractions are necessary here.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

-- 
Posted via http://www.ruby-forum.com/.

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