Link to home
Start Free TrialLog in
Avatar of coreybryant
coreybryantFlag for United States of America

asked on

Referencing External Style Sheet

I changed a folder to a sub-domain: it went from www.example.com/app to app.example.com

I was using some ASP includes as well
<!--#INCLUDE FILE="../../../includes/header.html" -->

Open in new window

All the ASP includes work.
The style sheet and JavaScript are not found
<link href="../../../includes/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../includes/external_window.js"></script>

Open in new window

Is there another way to do this or do I need to use an absolute path?

Here is the link http://android-apps.coreybryant.com/spbsoftware/spbsoft-shell-3d if that helps.
ASKER CERTIFIED SOLUTION
Avatar of remorina
remorina
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of coreybryant

ASKER

Thanks, I thought I would have to do that.  I just never ran into the issue with the ASP includes (that are in the same folder as the JS / CSS) would work and the CSS / JS would not (usually it was the other way around).