File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "CSS files in an Application" Watch "CSS files in an Application" New topic

CSS files in an Application

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


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

Joined: Nov 08, 2001
Posts: 15385
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.

I agree. Here's the link:
subject: CSS files in an Application
It's not a secret anymore!