Welcome Guest, Not a member yet? Register   Sign In
How to set a background image url in CSS when my CI applications is into a subfolder?
#3

[eluser]Michael Wales[/eluser]
I tend to develop more than one site at a time and it does get a bit confusing and messy in there at times - but I insist on referencing everything from root. My folder structure is as follows:

Code:
root
  - css
    - site_1
    - site_2
  - images
    - site_1
    - site_2
  - js
    - site_1
    - site_2
  - site_1
  - site_2

One of the repercussions of this is that when you do actually go live on your domain, your site will be referencing /css/site_1/ when site_1 will probably be the only directory within the /css/ directory (no reason to include site_2's files on site_1's server, right?).

It's not a big deal and won't hinder you in the development process - it just feels weird to have a single sub-directory... I think I get that feeling from my college experience (your outline can not have a single statement as a sub-topic, you can't split something into one part).


Messages In This Thread
How to set a background image url in CSS when my CI applications is into a subfolder? - by El Forum - 09-27-2007, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB