The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Embedding office documents, Can't get it to work
infamous_Q
post Apr 16 2008, 11:07 PM
Post #1





Group: Members
Posts: 1
Joined: 16-April 08
Member No.: 5,460



Hello all, i'm trying to figure out how to embed office documents (like a .doc or .docx file) into a webpage, so that it displays (just the text and formatting is preferrable). However, when i try and do it in an iframe i'm always prompted to download the file. Plain txt files work perfectly, but .doc files have richer formatting. What am i doing wrong?

code:

<html>
<body>
<iframe src="test.doc" scrolling="no"></iframe>
</body>
</html>


Thanks guys!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 17 2008, 12:17 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



How Office programs behave in situations like that is controlled by the user. I never let the files display inside the browser. You can't control that from a site.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 02:12 PM