|
|
|
Re: content after include isn't editable |
| message from kiggityca on 19 Jul 2004 |
<html>
<!-- #BeginTemplate "/Templates/abouttemplate.dwt" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>SBNMS Staff and Office</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body marginwidth="0" leftmargin="0" marginheight="0" topmargin="0"
bgcolor="black" link="#cc9933" alink="#0066ff" vlink="#cc9933">
<p><!--#include virtual="/includes/topbanner2.html"-->
<!-- #EndTemplate -->
</html>
If I look in notepad, after the include line there is a whole table. Is there
some kind of "end include" tag that should be there after the <!- -#include--> ?
Thanks!
Erica
|
| darrel replied to kiggityca on 19 Jul 2004 |
We need to see all of the HTML AFTER the includes are processed.
Most likely, the include files contain bad HTML that, when combined with the
main page, make DW puke.
Post a link to the live page if you can, or, open it all up in DW and cut
and paste from the code window.
-Darrel
|
| kiggityca replied to darrel on 19 Jul 2004 |
Hi,
http://stellwagen.nos.noaa.gov/about/staff.html
The complete source code is below. If you have any ideas please let me know,
I have no idea what to do with this...
Thanks!!
Erica
<html>
<!-- #BeginTemplate "/Templates/abouttemplate.dwt" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>SBNMS Staff and Office</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body marginwidth="0" leftmargin="0" marginheight="0" topmargin="0"
bgcolor="black">
<p><!--#include virtual="/includes/topbanner2.html"-->
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td valign="top" align="right" width="150"><!--#include
virtual="/about/leftnav.html" --></td>
<td bgcolor="white" width="450" valign="top">
<blockquote> <!-- #BeginEditable "body" -->
<h2 align="center"><font face="Verdana, Arial, Helvetica,
sans-serif"><BR>
Office and Staff</font><font face="Verdana, Arial, Helvetica,
sans-serif" size="2">
</font></h2>
<p> </p>
<h3><font face="Verdana, Arial, Helvetica,
sans-serif">Staff</font></h3>
<p><font face="Verdana, Arial, Helvetica, sans-serif">Craig D.
MacDonald,
Ph.D.-- Superintendent<br>
</font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif">Anne I. Smrcina
Education & Outreach Coordinator <br>
</font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif">David Wiley,
Ph.D.
|
| kiggityca replied to kiggityca on 19 Jul 2004 |
alan,
i just checked and actually the topbanner include file has its own body tags
:/ if i take them out will it break anything? i haven't really worked with
includes so i don't know if they had a reason to have body tags in the include?
thanks!
erica
|
| darrel replied to kiggityca on 19 Jul 2004 |
And HTML page should have only one set of opening and closing BODY tags. So,
in all of your include files + the parent HTML file, there should only be a
total of one opening BODY tag and one closing BODY tag.
It usually makes the most sense to keep the body tags in the parent HTML
file and not the include files.
-Darrel
|
| Alan replied to kiggityca on 19 Jul 2004 |
how about a link to a page, and a direct link to topbanner2.html?
is that file JUST what belongs where it's used, or is it a complete html
document with it's own head and body tags? If the later- that's the reason
for the problem.
|
|