Problems using Directories

R

Roshawn Dawson

Hi,

I'm having a bit of a problem with ASP.NET. In my root directory I have created three
subdirectories (Shoes, Styles and Xslt). In the Shoes directory is an .aspx file that makes use of
an xslt file in the Xslt directory. The xslt file in use uses a css file in the Styles directory.

When I run the page no errors are generated and the data is returned. However, I see that the
styles in the css file is not used at all.

I've taken the files I'm using in both the Styles and Xslt directories and placed them directly in
the root directory. Guess what? I get the same results as before; that is, all data but no style.

Is there some problem with ASP.NET in that files in one directory can't interact with files in
another directory? I hope I'm wrong in thinking this. Can anyone point me in the right direction?

Thanks,
Roshawn


PS. I'm using .NET 1.1.
 
C

CJ

You are just referencing the files wrong. If you aren't able to point
files with ../ syntax, you can always use ~/ to signify the root
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top