DWT adds extra code?

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?
 
A

Andrew Murray

??

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.
 
S

Stefan B Rusynko

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?
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top