I have following web project structure:
Root Folder:
1. Default.aspx page
2. MasterPage
2. Folder Named: Secure ---> Results.aspx
3. Web.config, other we can discard...
now all the aspx file, i mean "default.aspx", "Results.aspx" pages inherit master page.
IN MASTERPAGE, I have place a image above the contentplaceholder like this (see below the HTML code---see the img marked in BOLD):
Now, this image is shown correctly on Default.aspx page BUT NOT ON RESULTS.aspx page coz results.aspx page is under a sub-folder.....
when i do ../images/v_logo.gif, then it shows in sub-folder aspx file but not on "default.aspx" file????????
how can i make this image has generic so that it shows on all the pages irrespective of whether it is under sub-folder or outside the sub-folder???
thanks a lot in advance...
------------------------------------------------------------------------------------------------------------------------------
<body style="background-color:#ffffff; margin-top:0; margin-left:0">
<table style="background-color:#ffffff" border="0" cellpadding="0" cellspacing="0" width="900px">
<!-- Here comes common Company template START-->
<tr>
<td colspan="2"><img id="v_logo" src="images/v_logo.gif" width="150px" height="73" alt=""/></td>
</tr>
<tr>
<td rowspan="5" colspan="2" style="background-color:#ffffff" valign="top">
<form id="form1" runat="server">
<div>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</div>
</form>
</td>
</tr>
</table>
</body>