I have a bunch of resources outside the root of my webserver. This resources are mainly html files with related css and js. I'm trying to use them within my current page and it looks like I should use an iframe for that. The problem is that I load the html within such iframe but it is displayed without any style. I checked with firebug and the css is included properly but the properties defined there are not aplied.Can you help me? thanks in advance Updated whit some more infoI have a list of resources inside a folder that is outside apache's public folder/usr/resources/resource1.htmlthis html file uses relative routes to css and js that is inside the same non-accesible folder:/usr/resources/css/style.cssI serve this html file through a php script (using readfile). I have a list of resources inside a menu, when a user clicks on a resource name I change the iframe src attribute with jQuery to refresh it, as I said, I see the html loaded (with all the css loaded as well) but styles are not applied. I'm a little bit stucked here :SSolutionI found a solution, the problem was that headers for js and html files weren't properly returned by finfo_file (it returned text/plain for both) so they weren't applied to the iframe.