Forum Moderators: open
I'm currently converting a website from using frames into using SSI's using Dreamweaver MX. The way I've approached it is to use a table for the layout of the page and simply insert the relevant frame contents into the table as SSI's. I have no idea if this is the best way to acheive this but anyway, here is my problem.
When I design the table and enter the SSI into it everything works fine. I upload it, everything is fine and dandy, HOWEVER if I make one single change to the code of the page (i.e. not a change using the WYSIWYG editor) the whole table disappears and I'm left with only the graphics which I've used, no table outline, no SSI markers. This makes the page extremely difficult to edit!
The same thing occurs once the page has been saved and then re-opened.
I hope this is understandable as it is quite difficult to explain. Any help with this would be greatly appreciated.
Regards
Sarge
<body>
<table width="75%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>
<!--#include virtual="/menuinc/menu_left.htm" -->
</td>
<td> </td>
</tr>
</table>
</body>
The <table> and </table> are marked invalid because it's an overlapping or unclosed tag
The </body> is marked invalid because it doesn't belong inside the tag it's in
All this has something to do with the include because non of the html is invalid until i insert the include. I know I'm being thick but what am i doing wrong.
Regards
Sarge
Example body tag:
<body "bgcolor="#FFFFFF" text="#FFFFFF"topmargin="0" background="/index_files/top_nav_tex.gif" leftmargin="0" onLoad="MM_preloadImages('/index_files/rollover/about_2.gif','/index_files/rollover/faq2.gif','/index_files/rollover/contact_2.gif','/index_files/rollover/terms_2.gif','/index_files/rollover/privacy_2.gif','/index_files/rollover/comments2.gif')">
Any ideas?
IŽd suggest reading Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post which contains a lot of useful information.
Andreas