ClueLess
09-14-2004, 05:12 PM
Can someone please give me advice or help me ...I don't know why the include file / image doesn’t work. What did I do wrong?
Here is my project:
In the wwwroot\myproject\ has the include folder, images folder, and index.asp.
I create an header.htm page and save it in the include folder. Because, I want to use the header.htm page in other places.
The images folder contains all the images in there.
Here is my header.htm page:
<table>
<tr>
<td>
<img src=”images/header.jpg”>
</td>
</tr>
</table>
==
Index.asp page - the include works..the header image shows.
<body>
<!--#Include File="include/header.htm"-->
</body>
here is a problem, I created a Math folder in the myproject. In the math folder I have a calculas.asp page.
In the calculas.asp, I've included the header.htm page
Here is what I did in the calculas.asp page
<body>
<!--#Include file="../include/header.htm"-->
</body>
It seems like...it's a right path, But the header image does not show? Why? Thanks for your help.
Here is my project:
In the wwwroot\myproject\ has the include folder, images folder, and index.asp.
I create an header.htm page and save it in the include folder. Because, I want to use the header.htm page in other places.
The images folder contains all the images in there.
Here is my header.htm page:
<table>
<tr>
<td>
<img src=”images/header.jpg”>
</td>
</tr>
</table>
==
Index.asp page - the include works..the header image shows.
<body>
<!--#Include File="include/header.htm"-->
</body>
here is a problem, I created a Math folder in the myproject. In the math folder I have a calculas.asp page.
In the calculas.asp, I've included the header.htm page
Here is what I did in the calculas.asp page
<body>
<!--#Include file="../include/header.htm"-->
</body>
It seems like...it's a right path, But the header image does not show? Why? Thanks for your help.