mesman00
January 5th, 2002, 22:47
ok, i read the post on ssi below, with the inclue virtual crap, this is what i'm doing, and it doesn't work for some reason:
first, i make a table that looks like this:
<table border="1" cellspacing="0" cellpadding="0" width="760" height="300" align="center" bgcolor="#FFFFFF" background="">
<tr>
<td>
</td
</tr>
</table>
then, i opened a new txt file and wrote this in it:
<html>
<a href="mainframe.html">Mainframe</a>
<a href="news.html">News</a>
<a href="downloads.html">Downloads</a>
</html>
i saved this file as main.txt
then, i changed the table to this:
<table border="1" cellspacing="0" cellpadding="0" width="760" height="300" align="center" bgcolor="#FFFFFF" background="">
<tr>
<td>
<!--#include file="main.txt" -->
</td
</tr>
</table>
ok, so is that right?? i guess it can't be because when i open the HTML file with the table in it nothing shows up, but the table just stays blank instead. so, if i could get some help, that would be great.
after some more research, i realized i had to chagne the file extension to shtml. so i did this, and even copied the exact text from at turorial, and it still didn't work i'll show ya what i put in:
header.txt:
fleece was white
marylamb.shtml:
<html>
<head><title>Mary's lamb</title></head>
<body>
Mary had a little lamb, it's <!--#include file="header.txt" --> as snow.
</body>
</html>
browser output:
Mary had a little lamb, it's as snow.
as you can see, the #include statement was totally overlooked. is there something i need to enable in internet explorer so it will show properly. im stumped here.
first, i make a table that looks like this:
<table border="1" cellspacing="0" cellpadding="0" width="760" height="300" align="center" bgcolor="#FFFFFF" background="">
<tr>
<td>
</td
</tr>
</table>
then, i opened a new txt file and wrote this in it:
<html>
<a href="mainframe.html">Mainframe</a>
<a href="news.html">News</a>
<a href="downloads.html">Downloads</a>
</html>
i saved this file as main.txt
then, i changed the table to this:
<table border="1" cellspacing="0" cellpadding="0" width="760" height="300" align="center" bgcolor="#FFFFFF" background="">
<tr>
<td>
<!--#include file="main.txt" -->
</td
</tr>
</table>
ok, so is that right?? i guess it can't be because when i open the HTML file with the table in it nothing shows up, but the table just stays blank instead. so, if i could get some help, that would be great.
after some more research, i realized i had to chagne the file extension to shtml. so i did this, and even copied the exact text from at turorial, and it still didn't work i'll show ya what i put in:
header.txt:
fleece was white
marylamb.shtml:
<html>
<head><title>Mary's lamb</title></head>
<body>
Mary had a little lamb, it's <!--#include file="header.txt" --> as snow.
</body>
</html>
browser output:
Mary had a little lamb, it's as snow.
as you can see, the #include statement was totally overlooked. is there something i need to enable in internet explorer so it will show properly. im stumped here.