We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Fungování této stránky je z důvodu údržby dočasně omezeno. Pokud žádný článek nápovědy nevyřeší váš problém a potřebujete se zeptat na další řešení, napište nám na Twitter @FirefoxSupport nebo Reddit /r/firefox.

Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

htm file type problem with graphics and other details

more options

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit). When the customers have opened these gmail attachments (.htm files) on their local machine they open in their Firefox or Chrome but do not have any graphics and all color information is stripped from them. This is definitely not an acceptable way to get my web-page pilots approved at all!

As far as I was concerned this .htm was the ideal way to send complete web pages but now I definitely don't want to use it! Do you have any ideas qabout what is wrong or recommendations to correct these 'graphicless' complete webpages?

What a pity Dave

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit). When the customers have opened these gmail attachments (.htm files) on their local machine they open in their Firefox or Chrome but do not have any graphics and all color information is stripped from them. This is definitely not an acceptable way to get my web-page pilots approved at all! As far as I was concerned this .htm was the ideal way to send complete web pages but now I definitely don't want to use it! Do you have any ideas qabout what is wrong or recommendations to correct these 'graphicless' complete webpages? What a pity Dave

Zvolené řešení

davethor said

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit).

When you use the "Web page, complete" format, the HTML file is not complete in itself. Firefox creates a companion folder that contains the various stuff the browser needs to fill in the missing content, such as images and style sheets.

You could "zip" the file and folder together, but then the recipient would need to unzip it somewhere and load the page from disk so the contents of the folder would populate into the page. Inconvenient.

Would your correspondents mind receiving PDFs?

If they don't want PDFs, you could consider:

(1) The Save Page WE format ("Standard Items")

The images are converted to data URIs and embedded into the page. The results can be pretty huge.

https://addons.mozilla.org/firefox/addon/save-page-we/

(2) The MHTML format

This format is not natively supported in Firefox, but you can generate and view it using Internet Explorer 11 and possibly other browsers.

(3) Sharing a cloud storage link

Google Drive or Microsoft OneDrive would be affordable options.

Let us know what works out best for you and your clients.

Přečíst dotaz v kontextu 👍 0

Všechny odpovědi (3)

more options

Please paste the .htm code you are sending to here: https://pastebin.mozilla.org/

Then select a month for retention and after you hit Send, copy the URL for your Pastebin submission and paste that new IRL here.

Later today a contributor should be able to tell you what's happening.

more options

Are there any additional files included like CSS files or image files?

Make sure that (local) links are either relative and have forward slashes and not backslashes in their path.

You would normally check the Web Console and the Network Monitor for error messages.

more options

Zvolené řešení

davethor said

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit).

When you use the "Web page, complete" format, the HTML file is not complete in itself. Firefox creates a companion folder that contains the various stuff the browser needs to fill in the missing content, such as images and style sheets.

You could "zip" the file and folder together, but then the recipient would need to unzip it somewhere and load the page from disk so the contents of the folder would populate into the page. Inconvenient.

Would your correspondents mind receiving PDFs?

If they don't want PDFs, you could consider:

(1) The Save Page WE format ("Standard Items")

The images are converted to data URIs and embedded into the page. The results can be pretty huge.

https://addons.mozilla.org/firefox/addon/save-page-we/

(2) The MHTML format

This format is not natively supported in Firefox, but you can generate and view it using Internet Explorer 11 and possibly other browsers.

(3) Sharing a cloud storage link

Google Drive or Microsoft OneDrive would be affordable options.

Let us know what works out best for you and your clients.