Hi Ted

I finally remembered ... I checked out some other MHTML files that I had worked with previously.  It turns out that none of the browsers displays MHTML correctly BUT if I use the IE Tab extension in the browser they show correctly - and they display correctly in IE as well.  I don't know if there is any other workaround for Chrome, Firefox etc.

Thanks again

Paul

On 27/05/2022 19:34, Ted Roche wrote:
Paul:

How are you saving the page as MHTML? Are you doing that in a browser,
or using Automation or something else?

If a browser, which one?

On Fri, May 27, 2022 at 12:54 PM Paul Newton<paul.newton.h...@gmail.com>  wrote:
Hi all

I have an HTML document in, say, C:\Temp.  It contains, amongst other
things, the following:

<link rel="stylesheet" type="text/css" href="./tech1117.css">
and
<img width="575" height="467" src="./Domain00.jpg">

This file displays correctly and I save it as an MHTML (Web Page, Single
file).  When I open the MHTML the styles from the stylesheet are not
showing and nor is the image, even though the MHTML, stylesheet and
image file are all in the same folder.

I have tried this (saving as MHTML and opening MHTML) using Chrome,
Firefox, Edge and Opera.  Inspecting the MHTML shows

<link rel=3D"stylesheet" type=3D"text/css"
href=3D"file:///C:=/Temp/tech1117.css">
and
<img width=3D"575" height=3D"467" src=3D"file:///C:/Temp/Domain00.jpg">

Am I missing something here?  I thought that the MHTML could be opened
from anywhere and should display correctly even if the stylesheet and
image files are absent (because they should be embedded in the MHTML).

Many thanks

Paul Newton

--- StripMime Report -- processed MIME parts ---
multipart/alternative
   text/plain (text body -- kept)
   text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/b58790bf-9d3e-4a6a-b457-a25cd77d9...@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to