Welcome to WebmasterWorld Guest from 54.205.119.93

Forum Moderators: incrediBILL

Message Too Old, No Replies

Trouble with Includes

cant seem to get them to work

   
5:44 pm on Apr 29, 2009 (gmt 0)

10+ Year Member



Hi
Im trying to build a simple site with three includes one for the header one for the footer and one for the navigation...the darn thing looks fine in dreamweaver but when i post to the web i see nothing except the background and the delete image...all files are in the root....any insight would be great...heres the code

<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body background="images/bg.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<table width="1050" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<!--#include virtual="top.html"-->

</tr>

<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><!--#include virtual="navright.html"--></td>
<td><img src="images/delete.gif" width="752" height="370" alt=""></td>
</tr>
</table></td>
</tr>
<tr>

<td><!--#include virtual="footer.html"--></td>
</tr>
</table>
</body>
</html>

5:48 pm on Apr 29, 2009 (gmt 0)

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Check your .htaccess file. Make sure you have:

Options Includes

5:53 pm on Apr 29, 2009 (gmt 0)

10+ Year Member



Im Using IIS 6 is that applicable?
6:07 pm on Apr 29, 2009 (gmt 0)

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



You got me, chief! That's a beast I know nothing about. However, a search of webmasterworld came up with this and might provide some answers...

[webmasterworld.com...]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month