tu2thepoo
12-20-2002, 02:12 AM
http://www.actvsdei.com/~tutu/temp/test4.shtml
here's what i have now:
<body bgcolor="#006699">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10%" height="95%" align="center">
<!--#include file="leftside.txt" -->
</td>
<td width="80%" height="95%" align="center">
<!--#include file="content.txt" -->
</td>
<td width="10%" height="95%" align="center" valign="top">
<!--#include file="rightside.txt" -->
</td>
</tr>
<tr>
<td height="5%" colspan="3" align="center" valign="top">
<!--#include file="bottom.txt" -->
</td>
</tr>
</table>
</body>
content.txt contains the table formatting stuff. this is what it looks like without including content.txt (http://www.actvsdei.com/~tutu/temp/test5.shtml).
what i'd like to do is keep the content (which would be on the .shtml page) separate from the formatting information in content.txt, so that if i change the layout in the future i won't have to go through every page of my website and reformat that particular window. is this possible using shtml?
For example, i don't like the look of the bones around the content window right now, so i want to be able to change how it looks (by modifying content.txt) without screwing up anything i have in the content window.
i'm thinking it might be more elegant to use PHP or something similar, but i'm not too sure if my account is properly set up for that (i get missing file errors when i try to use php-include).
here's what i have now:
<body bgcolor="#006699">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10%" height="95%" align="center">
<!--#include file="leftside.txt" -->
</td>
<td width="80%" height="95%" align="center">
<!--#include file="content.txt" -->
</td>
<td width="10%" height="95%" align="center" valign="top">
<!--#include file="rightside.txt" -->
</td>
</tr>
<tr>
<td height="5%" colspan="3" align="center" valign="top">
<!--#include file="bottom.txt" -->
</td>
</tr>
</table>
</body>
content.txt contains the table formatting stuff. this is what it looks like without including content.txt (http://www.actvsdei.com/~tutu/temp/test5.shtml).
what i'd like to do is keep the content (which would be on the .shtml page) separate from the formatting information in content.txt, so that if i change the layout in the future i won't have to go through every page of my website and reformat that particular window. is this possible using shtml?
For example, i don't like the look of the bones around the content window right now, so i want to be able to change how it looks (by modifying content.txt) without screwing up anything i have in the content window.
i'm thinking it might be more elegant to use PHP or something similar, but i'm not too sure if my account is properly set up for that (i get missing file errors when i try to use php-include).