I use a javascript code to download a CSS file to the phone. 

The code works well and it saves the CSS file in this path:

```
file:///data/user/0/com.my.app/files/file.css

```

Now I want to locally load it with a html code (in my server) like this:

```
<link rel="stylesheet" href="file:///data/user/0/com.my.app/files/file.css">

```

but it doesn't work.

I also tried to put the CSS file directly into the package (.apk and .ipa) in a css folder in the www folder, but this code doesn't work too:

```
<link rel="stylesheet" href="file:///android_asset/www/css/file.css">

```

Is there a way to load a CSS/JS file locally from the phone?

**EDIT:**

My phonegap application has a index.html file in the www directory that simply redirect to my server (ie. <http://www.myserver.com>). What I want to do is importing CSS or JS files in my server and take them directly from the phone. 

Maybe can I use a iframe (in the index.html file) and load there all the code in my server instead of using a redirect?