|
This applies to FP2002 Many people make a Word document which they would then like as a web page in their Front Page Web. Usually the Word document gets saved as a web page, then imported into Front Page. Although the page will view satisfactorily on most browsers, troubleshooting can be awkward as so much weird and unnecessary code is added. There is a quicker and much safer method of doing this. Here is a link to a Word Document that was saved as a web page, then imported into Front Page. Right click on the page and "view source code" or click on your browser toolbar "view ... source code". You will see all the unusual code that has been produced, here is just a sample:
What does all that code mean??
So, how can you use a Word document within Front Page 2002 without getting all that foreign code stuff - Dead Easy! Save your Word document as you normally would .... as a Word Document, no need to save as a web page. Open Front page and create or open the web page you want your Word document to appear on.
Not every feature of a Word Document can be converted correctly for a web page. For example lists cannot. Here is the web page that was produced from inserting the Word Document as a file. It will open in a new window so you can refer back to this page. As you can see, the list items, although indented have lost their numbers. That is easy to rectify, but first check out the source code and compare it to the Word Document that was saved as a web page. Totally different, and so little of it compared. Here is an image of what the HTML view looks like when using the Insert/File method:
Okay, now to correct the list that has lost its numbers, also it has been indented even further into the page.
So, as you can see, there is an easy way to have a Word Document in your web, without all that surplus code. Any items on the document that do not get translated into a web page, it is better, I think, to then have to add to the web page rather than have all that bloated code.
|