Page 1 of 1

Want to convert Word doc to htm ? that will except hyperlink

Posted: Mon Mar 26, 2012 4:46 pm
by thewolfe
Just started working on my website www.dougsstuff.com. I originally (years ago) created a Word doc with bunches of formatting and hyperlinks.

I would like to convert the "doc" file to another format that will keep my formatting and hyperlinks and open as another page on my site. Right now when you click on the link it asks if you want to "Open" or "Save" as a doc file. If you have Word all is well but if not it would not be convenient to open it.

On my site I have the "doc" version under "Computer Stuff"/Tips and "Tricks" and I created an "htm" version under "Are your Favorites in Internet............" That link is in the middle column under my menu.

Neither one will work as I would like. Any ideas?

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 4:50 pm
by Spidey
I don’t know what version of Word you are using but, you should be able to “open a new file as a webpage” And the just copy and paste your old file into it.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 5:19 pm
by thewolfe
When I save as "mht" the link loads with source fle that looks like this. It does load correctly on local computer but not on the web.

"This document is a Single File Web Page, also known as a Web Archive file. If you are seeing this message, your browser or editor doesn't support Web Archive files. Please download a browser that supports Web Archive, such as Microsoft Internet Explorer.

------=_NextPart_01CD0B6A.0DF6A800
Content-Location: file:///C:/B1346B57/www.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 5:39 pm
by Jeff250
The best thing to do is to convert to *.pdf. Word shouldn't be used to author html.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 5:54 pm
by thewolfe
Yep, I just wanted to be able to edit it. But I can do that and then convert it to PDF.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 6:33 pm
by thewolfe
Ok, here's my next question. Is there a way to hyperlink inside a pdf file. It will hyperlink to web addresses but my whole Word file is based on hyperlinking to other pages in the same doc.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 7:25 pm
by Krom
The best way to have a collection of links is to pull a few templates and edit them in a HTML file directly with notepad or any other plain text editor.

Here is how I do a collection of links: http://krom.sploitz.com/css3/

Feel free to save it and use it as a template if you want, just be warned that it breaks in IE6 if anyone is still using it. (IE7 and up work fine and so do all other modern browsers). Basic knowledge of HTML and how markup languages work is necessary, but fairly simple to figure out with a little time and some google searching.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 7:56 pm
by thewolfe
Thanks for that. Take a look at "Tips & Tricks" under "Computer Stuff" in my menu at dougsstuff.com

You'll have to open the Word doc. My problem is that I hyperlink to other areas in that doc and I'd like to be able to do that in some kind of a file format that would open in a new page on my site (not have to "Open or "Save") and have the hyperlink capability.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 8:29 pm
by fliptw
did you try copying from word, and pasting into front page?

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 8:36 pm
by thewolfe
I don't want it as part of my main page but linked to main page.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 8:44 pm
by Krom
The feature you are asking about has been around in HTML since forever, example: http://en.wikipedia.org/wiki/Hyperlink# ... rk_in_HTML

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 10:03 pm
by Spidey
Try this….

Don’t save as a “mht” file under “save as webpage”…

Instead open the save as dialog box and save it as “*htm; *html” instead.

(it worked just fine for me, with some minor changes to be compatable for IE4)

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Mon Mar 26, 2012 11:01 pm
by thewolfe
Thanks Spidy, I'll try that.

Krom, I'm trying to link within the same doc. Say from page 1 of the doc to page 4. it works in Word but I'm looking for another format.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 12:13 am
by Jeff250
<a href="#foo">Scroll down to Foo Section</a>

. . .
. . .
. . .

<a name="foo">Foo Section</a>

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 3:40 pm
by thewolfe
Well I was able to convert my "doc" file to "htm" and then hyperlink in that file or hyperlink to another file, so that mystery is solved. Thanks for the info. "I'll be back", I'm sure.

BTW Krom, I think your color scheme for http://krom.sploitz.com/css3/ is great.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 3:59 pm
by thewolfe
Krom, background ground question, is that background available?

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 5:05 pm
by Krom
It said free to distribute from where I got it...

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 6:57 pm
by thewolfe
Thanks I'm using it on my test site and I like the font colors against the background. Very classy I'd say. I'll let you know when I get it up and running.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Tue Mar 27, 2012 8:09 pm
by Krom
FYI, I got the background image from a WordPress theme: http://www.webdesigncompany.net/motion/
They say "You're welcome to modify it and use it wherever and whenever you like", the official licensing is GPL.

Everything else (the HTML, CSS and the semi-transparent panels that float behind the text) I hand coded or created in an image editor myself (well, excluding the fonts...).

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Fri Mar 30, 2012 5:00 pm
by thewolfe
I'm trying to use a background in the cells of a table on my site and the jpg pic loads about 3/4 down on my page and then the pic starts over. I'm using FrontPage but I assume (ops!) that a table is a table. Anyway can I stretch the one jpg to cover the whole page no matter how far I scroll down?

I know this is probably off the normal posting type questions but since this is my go to site, I thought I'd try here first.

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Fri Mar 30, 2012 7:45 pm
by Krom
Possibly, but you probably wouldn't want to. What I would do is define the background as fixed, that way the text will scroll but the background will not. To see an example, shrink your browser window on that page of mine till it doesn't fit in the window anymore and then scroll around. :P

That page background is defined in the CSS like this:

Code: Select all

body { background: #000 url("img/bodybg.jpg") top center no-repeat fixed; }

Re: Want to convert Word doc to htm ? that will except hyper

Posted: Fri Mar 30, 2012 8:05 pm
by thewolfe
Got it, just kept making the jpg bigger using Gimp. Did it the "don't know script way". But will make a note of the correct way.