Originally outline here: http://www.midwesternmac.com/blogs/geerlingguy/adding-module-stylesheets...

Basically, I had a module which defined a stylesheet idcards.css inside it's module folder using drupal_add_css(), as well as a stylesheet idcards.css inside my theme folder defined inside the theme's .info file. When the names were the same, only one of the two stylesheets were loaded. I had to change the module's CSS filename to get it to work.

Comments

Pasqualle’s picture

Status: Active » Closed (works as designed)

http://api.drupal.org/api/function/drupal_add_css/6

Modules should always prefix the names of their CSS files with the module name, for example: system-menus.css rather than simply menus.css. Themes can override module-supplied CSS files based on their filenames, and this prefixing helps prevent confusing name collisions for theme developers. See drupal_get_css where the overrides are performed.