title: Determine file paths in CSS file depending on CGI HTTP_HOST
body: <p>I work in a small development team where we use version control but one of the real bug bears for us is that our development paths are different from our live web platforms paths.</p>
  
  <p>So when we are developing projects on our own machine we are constantly having to comment in and out live/development paths, especially in our CSS files as the paths for our images folder are different development to live.</p>
  
  <p>I thought this would be simple enough to set the paths accordingly using the CGI.HTTP_HOST variable but because the image paths are set in our CSS files is there a way to do this?</p>
  
  <p>I wasn't sure if using JavaScript to determine if we were on our localhost machine and then setting two variables; one for development path and one for live path would be best but then O was unsure how to use these variables in the CSS style path?</p>
  
  <p>Hope this makes sense!</p>