Hey Christian,
I think there may be some confusion here. An example might help (both of us). Let’s say the root of your site has the following structure:
/images
/index.php
/license.txt
/system
/path.php
/themes
If I’m saving my templates as external files for more convenient editing (which I do, and which it sounds like you’re doing), I’ll create a folder within the /system directory called “templates”, and within that a folder with my site name (once again, I have no idea if this is the recommended way of doing things).
So it looks something like this:
/system/templates/my_site/
What happens inside the “my_site” directory entirely depends on how I’ve got my template groups set up in EE. For the sake of argument, let’s say I’ve got a template into which all my CSS is placed (“my_css”). That template resides in a template group (“inc”) containing a bunch of common site elements. So in the Templates tab I’ve got a template group “inc”, containing a template “my_css.”
I’ve saved the template out as a file, so the directory structure on my server looks like this:
/system/templates/my_site/inc/my_css
I then place all the images that are referenced in the CSS inside the /images folder, as follows:
/images/theme_images/my_site/
If I want to reference an image in this CSS file, I just go back to the root, for example:
#thing {background-image : url(/images/theme_images/my_site/my_image.jpg);}
I hope that explanation hasn’t confused you more than ever.
Stephen