homepage Welcome to WebmasterWorld Guest from 54.204.231.253
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Trouble with Includes
cant seem to get them to work
river_east




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

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>

 

tangor




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

Check your .htaccess file. Make sure you have:

Options Includes

river_east




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

Im Using IIS 6 is that applicable?

tangor




msg:3903436
 6:07 pm on Apr 29, 2009 (gmt 0)

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...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved