iWeb for Business

Website Content Examples

Build a successful business website with iWeb

Convert Text Docs to HTML to Display in an iFrame

iWeb Biz    |    Search Engine Optimization    |    Resources    |    Tech Support

 

Although PDFs can be displayed in an iframe, most browsers require a plugin for them to be seen - Safari being one of the exceptions.

An alternative method is to create your text document in an application such as Text Edit and export it as HTML. Drag this into a folder named something appropriate like “Docs” and upload this to the root folder on the server. Use this code in an HTML snippet to create the iframe to display your document....


<iframe width="960"  height="400" frameborder="0" src="http://www.domain.com/Docs/filename.html" >

</iframe>

Find out more about SEO and Publishing HERE