Skip Navigation | Groups

This site uses cookies- for more information see the Cookie Policy | Continue


How Expression Web 4 treats Shared Borders

What EW4 does to FrontPage Shared Borders

The page at ew4processed.aspx is a copy of this original page used to demonstrate the removal of Shared Borders. The subweb containing ew4processed.aspx has been opened in EW4 and the meta data recalculated (Tools->Recalculate Hyperlinks). Then the page was opened for editing.

Notice how the borders are multiplied through the page. In code view, the HTML has become a real mess, with invalid tags throughout the page. A nightmare to repair.

In Expression Web Design view, the pages look like:

Original page with shared borders  Page with shared borders in EW4
Original in EW3  Processed in EW4

Looking in Code view it can be seen that the <!--msnavigation--> comments FrontPage uses to designate the start and end of shared border tables have been converted to HTML tags, replacing the <table> tags used for the borders. When the page is opened it appears that the shared borders have been applied again, resulting in duplication. Recalculating Hyperlinks will repeat the process, resulting in a further layer of nested borders. And so on...

Simply opening the page may not cause the duplication, but recalculating hyperlinks definitely does. Importing a page, or Publishing to a site with meta data, always results in the meta data being updated for that page - this also has the same effect as recalculating hyperlinks, though oddly saving the page after editing (which updates the meta data) sometimes does not cause another layer of borders to be produced.

This could be exacerbated when publishing to a FrontPage extended site, since part of the publishing process is to rebuild all pages using shared borders or include files by effectively recalculating hyperlinks ...

An example of this corruption is shown below - the Correct and Corrupt versions are from the saved files as seen in Notepad.exe. The samples are from the end (in the HTML) of the left border

Correct version:

 <h2>Other Webfaqs pages</h2>
<!-- #include virtual="/asp_inc/webfaqs_inc.asp" --></div>
</td><td valign="top" width="24"></td><!--msnavigation--><td valign="top">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus lectus magna,

Corrupt version:

 <h2>Other Webfaqs pages</h2>
<!-- #include virtual="/asp_inc/webfaqs_inc.asp" --></div>
</td><td valign="top" width="24"></td><!--msnavigation--><td valign="top"><!--msnavigation--><msnavigation border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>

<p style="text-align: center;"><strong>This is the Top border</strong></p>
<div id="header">

Note the corrupted version "invents" a <msnavigation> tag (which replaces the <table> tag), and then repeats the Top border. Similar examples can be found at the other repeated borders.