How to save Word documents as HTML to be viewed in Firefox
I'm in need for saving a Word document as HTML. It has some background images, other images, texts, ... It opens correctly in Internet Explorer, but how can I save a word doc as HTML so that Firefox and other current browsers render it correctly?
All images are missing in the document. I looked through the generated html document, but the paths for the images appear to be correct.
Any idea?
Things like "Don't save docs as html" won't be helpful here.
Edit: To make myself clear, the normal "Save as HTML" doesn't cut it, the result is broken in any browser other than Internet Explorer.
Edit 2: What I'm using is Word 2010 and Firefox 4. I also tried rendering it in the latest Chrome version, which failed as well. I used different compatibility settings for saving as html, it did not help
When using Word Save As Web Page(htm html), just prior to clicking Save, notice the "Tools" drop down to the left of the Save button. Go into this drop down, click the Web Options. In the options box that comes up, UNCHECK the box labeled "Rely on VML..." This worked great for me. Good luck.
I have a hack that involves modifying HTML code directly. I am using MS-Office 2007 and FF 10.0.4.
The trick is to remove the <v:imagedata src = ...>
crud that Word generates when you save a file into HTML and replace that with the standard <img src = ...>
. The former (imagedata ...) can only be rendered by IE while the latter is standard and can be handled by all browsers.
Example:
Remove the following -
<span style='mso-no-proof:yes'><v:shape id="Picture_x0020_2" o:spid="_x0000_i1026"
type="#_x0000_t75" style='width:282.75pt;height:207.75pt;visibility:visible;
mso-wrap-style:square'>
<v:imagedata src="dcsl_overview_files/image006.png" o:title=""/>
</v:shape> </span>
With:
<img src="dcsl_overview_files/image006.png" alt="overview figure">