paste a word.doc onto a new blank web page and keep all the format (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


thejup -> paste a word.doc onto a new blank web page and keep all the format (2/28/2008 5:54:25)

Hi

How do I import or paste a word.doc onto a new blank web page and keep all the format? The only way around this I have found is to make the hyperlink point straight to the document. Only problem is you get all the tool bars etc from word as well.

I have tried saving as a web page, but it doesn't keep the original layout.

Here is a link to the document I would like to display on my website. http://www.soccer.tcspaststudents.com/images/Townsville%20Registration%20Form%20-%20April%202008.rtf

Also I had to make it a .rtf doc or it kept comming up with a do you want to make it a read only text box, which isn't very web savvy but 10 times the size of the original doc.

Any help would be most appreciated.

Thanks TJ




jaybee -> RE: paste a word.doc onto a new blank web page and keep all the format (2/28/2008 7:04:04)

A Word document is exactly that, a Word document. It isn't a web page. The browsers expect a web page so if you just copy and paste you'll get mountains of crud in the code and most browsers won't have a clue what to do with it.

IE5 and 6 can probably make a decent stab at rendering it but IE7 won't and Firefox, Opera et al definitely won't.

The way round it:

1. Make a proper web page containing the information, do not copy and paste unless you paste into Notepad first and then into the page. You need to REMOVE all the formatting from Word and rebuild in HTML using FP.

2. Just upload the .doc file and make a link to it so people can download it.

3. Convert it to a PDF file, upload it and make a link to it.




thejup -> RE: paste a word.doc onto a new blank web page and keep all the format (3/1/2008 19:32:34)

Thanks Jaybee, yeah the idea of converting it to a PDF file seems the easiest way for me.

On a similar note, is there a way of having a PDF doc open up in an inline frame page?

TJ




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875