DWT adds extra code?

  • Thread starter Thread starter 11D.Universe
  • Start date Start date
1

11D.Universe

When adding DWT formatting to files, the combined files have extra
lines of code. Here's a part of the DWT:

<td>
<div style="overflow: auto; height: 99%; width: 100%">
<font face="Book Antiqua">
<!-- #BeginEditable "pageContent" -->
&nbsp;
<!-- #EndEditable -->
</font>
</div>
</td>

However, the final merged code looks like:

<td>
<div style="overflow: auto; height: 99%; width: 100%">
<font face="Book Antiqua">
</font> <----------------- FP added this code
<!-- #BeginEditable "pageContent" -->
Contents of Original HTML file HERE
&nbsp;
<!-- #EndEditable -->
</font>
</div>
</td>
===================================================
Any idea what's happening and how I can repair it?
 
??

The"extra" code is the code from your template, which is literally inserted
into the code from the page you attached the template to. (and highlighted
yellow to indicate it as non-editable in Code View).


I don't understand the question really. As far as I can see, the code is
right where it should be.
 
FP is probably terminating the font tag (right after it is opened) based on what html it is seeing inside the editable region (your
Contents of Original HTML file HERE)

IMHO
remove the font wrapper tag in your editable region and apply a font face style to the div wrapper

PS
the font Book Antiqua is non std and will only be seen by those that may have it installed on their PC

--




| When adding DWT formatting to files, the combined files have extra
| lines of code. Here's a part of the DWT:
|
| <td>
| <div style="overflow: auto; height: 99%; width: 100%">
| <font face="Book Antiqua">
| <!-- #BeginEditable "pageContent" -->
| &nbsp;
| <!-- #EndEditable -->
| </font>
| </div>
| </td>
|
| However, the final merged code looks like:
|
| <td>
| <div style="overflow: auto; height: 99%; width: 100%">
| <font face="Book Antiqua">
| </font> <----------------- FP added this code
| <!-- #BeginEditable "pageContent" -->
| Contents of Original HTML file HERE
| &nbsp;
| <!-- #EndEditable -->
| </font>
| </div>
| </td>
| ===================================================
| Any idea what's happening and how I can repair it?
|
 
Back
Top