aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
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: 15376
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.

Don't get me started about those stupid light bulbs.
subject: CSS files in an Application
Similar Threads
Flex 3 :Is it good to have a FrontController per Module??
Java SE6 client for EJB - Error in lookup
struts 1.X Action vs Actionmappings
Spring context xml files
unable to use more than 2 <bean:message. tags in jsp