본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

선택된 해결법

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.

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (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

선택된 해결법

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.