
Style Sheet problem with response.redirect
Quote:
> I have a style sheet that is left in the root folder of my project.
> Whenever I redirect from one level down the style sheet is not applied
> to the page that I redirect too. Such as:
> root/login.asp style sheet is called with "style.css"
> root/user/default.asp redirects to login.asp (at root/login.asp) if
> the session is dead and calls the style sheer with "../style.css"
> On a redirect login.asp wants a style sheet at "../style.css" even
> though the code on login.asp has not changed. I have tested this by
> copying the style sheet up one level and it works. Is this a VB
> redirect issue? If so what can be done to work aroung it?
I *never* use relative paths, I *always* use explict virtual paths...
/myroot/mystyle.css
/myroot/myfolder/mypage.asp
/myroot/includes/myinclude.inc
etc.
--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US