[thelist] best way to turn word into html with links and all

Scott Schrantz scotts at rci-nv.com
Fri Sep 27 13:13:01 CDT 2002


> -----Original Message-----
> From: Timothy J. Luoma [mailto:lists at tntluoma.com]
>
>  > we all know save as HTML doc is a mess---
>  > Dreamweaver-clean up HTML doesn't really help
>
> There's Office 2000 HTML Filter 2.0
> http://office.microsoft.com/downloads/2000/Msohtmf2.aspx
>
> but I don't know how well it works... I assume anything
> complex which is automatically generated into HTML is
> going to be messy and need some degree of hand-tweaking

It is messy, but it does help a lot. And the markup it creates is only a few
errors away from being valid HTML 4.01. I had some styled text in my Word
doc, and it turned it into this:

 <p class=MsoBodyText style='margin-left:27.0pt;text-indent:0in'><b><span
 style='font-size:12.0pt'>September 27, 2002</span></b></p>

Not a <font> tag in sight, but it makes heavy use of inline styles. It also
does this funny thing where every paragraph has to have a class:

 <p class=MsoBodyText></p>
 <p class=MsoNormal align=center style='text-align:center'>&nbsp;</p>

And my favorite:
 margin-bottom:.0001pt;

Nothing a little search and replace can't fix, though. *Much* better than
"Save as HTML", and still faster than other ways of converting.

--
Scott Schrantz
work: www.rci-nv.com
play: www.computer-vet.com



More information about the thelist mailing list