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

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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?
User avatar
Spidey
DBB Grand Master
DBB Grand Master
Posts: 10808
Joined: Thu Jun 28, 2001 2:01 am
Location: Earth

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

Post 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.
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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"
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

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

Post by Jeff250 »

The best thing to do is to convert to *.pdf. Word shouldn't be used to author html.
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post by thewolfe »

Yep, I just wanted to be able to edit it. But I can do that and then convert it to PDF.
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16137
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

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

Post 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.
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

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

Post by fliptw »

did you try copying from word, and pasting into front page?
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post by thewolfe »

I don't want it as part of my main page but linked to main page.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16137
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

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

Post 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
User avatar
Spidey
DBB Grand Master
DBB Grand Master
Posts: 10808
Joined: Thu Jun 28, 2001 2:01 am
Location: Earth

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

Post 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)
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

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

Post by Jeff250 »

<a href="#foo">Scroll down to Foo Section</a>

. . .
. . .
. . .

<a name="foo">Foo Section</a>
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post by thewolfe »

Krom, background ground question, is that background available?
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16137
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

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

Post by Krom »

It said free to distribute from where I got it...
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16137
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

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

Post 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...).
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16137
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

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

Post 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; }
User avatar
thewolfe
DBB Admiral
DBB Admiral
Posts: 1987
Joined: Tue Nov 05, 2002 3:01 am
Contact:

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

Post 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.
Post Reply