Link to home
Start Free TrialLog in
Avatar of huangs3
huangs3Flag for Canada

asked on

Easy-to-use tool to convert HTML file using .CSS and images to one single HTML file?

Hi Experts,
I want to make a single stand alone HTML file (not MHT) file that contains all the images and styles from a regular HTML file. I notice that image can become inline. Is there an easy-to-use tool to help me make both images and .CSS styles inline?
Thank you!
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of huangs3

ASKER

Hi Julian,

These tools can do the work for me. But some of them is not trivial to install in windows and some of them requires URL input online.
I have all the html and script in my local folder. Is there a tool can do it in a simpler way under windows?
Thank you!
Can't help you there - those are the ones I know of.

There may be others that other experts know of.
add the iis service and create a virtual directory to your local files
As a matter of interest - why do you want to do this?
Avatar of huangs3

ASKER

Hi Julian,

The motivation is to make a "under construction" page for a site. I want to make it have pictures and formatting without referring to other files, because the external files can be blew away during the site update. So I tries to bake everything in to the html file itself.
Thank you!
Avatar of huangs3

ASKER

Seems these are the best tools that can be found.
I want to make it have pictures and formatting without referring to other files, because the external files can be blew away during the site update
There are many ways to solve this problem
1. Make a special folder for the files
2. Put the files in the same folder as the under construction page with a url rewrite to that folder until site is ready to go live
3. Worst case - locate resources on different domain (sub-domain) that is separate from the domain for the UC page - so that any changes to the latter don't affect the resources.