title: Phonegap: how to use absolute paths on both Android, iOS and browser?
body: <p>I'm trying out Phonegap to develop for both Android and iOS using the same source.</p>
  
  <p>I would like to use <em>absolute</em> paths like :</p>
  
  <p><code>background-image: url(/graphics/test.png);</code></p>
  
  <p>but this doesn't work on Android or iOS.</p>
  
  <p>I found out that for Android I have to use something like :</p>
  
  <p><code>background-image: url(file:///android_asset/www/graphics/test.png);</code> </p>
  
  <p>but of course this doesn't make sense in a browser (for testing the app) and on iOS.</p>
  
  <p>The problem is that I'm using a framework that uses absolute paths all the time.</p>
  
  <p>I tried setting a <code>BASE</code> tag but couldn't get it to work...</p>
  
  <p>Is there any way to use the <strong>same</strong> absolute paths on all platforms?</p>