I'm having issues getting the <!--#include virtual="../0_common_files/masthead.htm"--> at the bottom of this code to function as intended. On this page is the masthead of the site, and .aspx will not correctly recognize the path to the image.
page code
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="test.aspx.vb" Inherits="testclients.cc_test" %>
<%@ Register TagPrefix="uc1" TagName="test_content" Src="test_content.ascx" %>
<%@ Register TagPrefix="uc1" TagName="test_rightNav" Src="test_rightNav.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>cc_pe_mockup</title>
<meta content="Microsoft FrontPage 6.0" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<link href="includes/site.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="includes/nav_functions.js"></script> <!-- this is the only addition that should need to be added to existing head sections -->
</head>
<body>
<form id="Form1" method="post" runat="server"> <!-- this tag should be added to all existing pages -->
<table height="0" cellspacing="0" cellpadding="0" width="760" border="0" id="mainTable"> <!-- you will need to replace your line with this one -->
<tr>
<td width="100%">
<div align="left">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td width="760">
[font="Times New Roman"] <!--#include virtual="../0_common_files/masthead.htm"-->[/font]
</td>
</tr>
Masthead code <html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>MASTHEAD - Graphic</title>
</head>
<body>
<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#660000" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="100%" valign="middle" align="center">
<p align="center"><map name="FPMap0">
</map>
<img border="0" src="images/masthead_copyright.jpg" usemap="#FPMap0" width="760" height="125"></td>
</tr>
</table>
</body>
</html>
Instead of using the correct path images/masthead_copyright.jpg" it pulls the following location (**Note this is from the .aspx page that Calls the include**)
http://www.website.com/clubname/aspx/images/masthead_copyright.jpg
As you see it thinks that the masthead resides in the aspx folder, when in fact it does not, the masthead resides ../0_common_files/images/masthead_copyright.jpg
My site structure is as follows:
domain/0_common_files/masthead.htm
domain/0_common_files/images/masthead.jpg
domain/aspx/test.aspx