Embedding office documents, Can't get it to work |
Embedding office documents, Can't get it to work |
infamous_Q |
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! |
pandy |
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.
|
Lo-Fi Version | Time is now: 28th March 2024 - 02:12 PM |