I have an ASP include file name "nav.asp" located in the following directory "red/nav.asp". The page I am calling this from is called "text_template.asp" and is located in the main root of the website and not in the "red" directory.
When I insert the include as a file include the images break. I think I should be using virtual inclucdes but I am not sure if I need to change anything in the include file i.e. the image paths?
Code snippet for the two pages are below.
red/nav.asp (code snippet)
-------------
<tr>
<td><img name="eg_top" src="../images/top/eg_top.
gif" width="87" height="23" border="0" alt=""></td>
<td><img name="govexplained" src="govexplained.gif" width="276" height="23" border="0" alt=""></td>
<td bgcolor="#996666"><img name="color1" src="../images/spacer.gif"
width="30" height="23" border="0" alt=""></td>
<td bgcolor="#660000"><img name="color2" src="../images/spacer.gif"
width="55" height="23" border="0" alt=""></td>
<td><img name="search" src="../images/top/search.
gif" width="48" height="23" border="0" alt=""></td>
<td bgcolor="#006699"> </
td>
<td><img name="go" src="../images/top/go.gif"
width="31" height="23" border="0" alt=""></td>
<td width="1"><img name="spacer" src="../images/spacer.gif"
width="1" height="23" border="0" alt=""></td>
<td><img name="lewishamlogo" src="../images/top/lewisha
mlogo.gif"
width="100" height="23" border="0" alt=""></td>
</tr>
<tr>
<td><img name="eg_mid" src="../images/top/eg_mid.
gif" width="87" height="20" border="0" alt=""></td>
<td><img name="govexplained2" src="govexplained2.gif" width="276" height="20" border="0" alt=""></td>
<td colspan="7"> </td>
</tr>
text_template.asp (code snippet)
-------------------
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/top/spacer.gif
" width="10" height="10"></td>
<td colspan="2"> </td>
</tr>
<tr>
<td height="60"> </td>
<td height="60" colspan="2"><!--#include file="red/nav.asp" --></td>
</tr>