Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Embed word Doc in HTML (https://www.cableforum.uk/board/showthread.php?t=33638593)

funkyCable 12-09-2008 13:11

Embed word Doc in HTML
 
Hi,


How does one embed a word document into html?

I have a word document stored on a server and I want the document to be embeded into my html. I can doe this with a pdf file but cant seem to get it to work with word. or can it be phased as an html document instead?

Graham M 12-09-2008 13:19

Re: Embed word Doc in HTML
 
Save it from word as an HTML file instead?

funkyCable 12-09-2008 15:31

Re: Embed word Doc in HTML
 
I already have loads of word docs and would prefer to just embed as is. I just wanted to know if there was a way to embed word docs as html without saving them as html.

haydnwalker 12-09-2008 15:43

Re: Embed word Doc in HTML
 
Do you want to embed it so it shows on the page? What if someone doesn't have word?

It would be better to put a link in which would look something like:
Code:

<a href="path/to/word/document/file.doc">WORD DOC</a>
Or if you just want to show it on the screen try

Code:

<object width="775px" height="500px" classid="clsid:00020906-0000-0000-C000-000000000046" data="sampleword.doc"></object>
I've got that from a website (http://forums.microsoft.com/MSDN/Sho...94724&SiteID=1) so I don't know if it would work.

You would need to replace
Code:

data="sampleword.doc"
with the path to the document inc http://


All times are GMT +1. The time now is 23:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum