Jump to content

css paths


Recommended Posts

I'm working on a project right now in CF. I have the main folder which everyone has access to and I have the admin folder that only logged in users can access. The problem is the path for all the images in the css stylesheet. What is the solution to this? Duplicate the stylesheet and change the paths?

Link to post
Share on other sites

Thought about that but the Dev site has a different path than the live site... Maybe I could do a search and replace once we transfer all the files to the live site so the paths are correct?

Link to post
Share on other sites

are the 2 sites on the same domainwww.mydomain.com/ andwww.mydomain.com/devsite????if that is the case you could place all the needed images and other stuff in the folders of the live site and still use what I suggested.

Link to post
Share on other sites

This is a governmental site so it's always more complicated :)They aren't on the same domain. One is internal (where all the dev sites are) and the other is live.

Link to post
Share on other sites

I've had a similar problem too.Simply use a backsteped relative URL, for example../images/image.gifwill select the file image.gif that is located in the folder images that is one level above the current folder.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...