my dog learned polymorphism*
The moose likes HTML, CSS and JavaScript and the fly likes CSS files in an Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS files in an Application" Watch "CSS files in an Application" New topic
Author

CSS files in an Application

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


Hi

I am planning to write a CSS file , which is specific to my Module , which is consisting of 10 screens .

Is it good to have a Module per css or Application per css ??

Please share your ideas .


Save India From Corruption - Anna Hazare.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Most sites will do a common css file that will have the core css in it. Means the styles that every page will use will be in there.

Some people create on CSS file for the other site, some will do the common css with individual files for the other pages.

It comes down to preference and file size.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CSS files in an Application