Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem when I am trying to save web page from browser using "Save as Webpage, complete" some of CSS/Javascript/Image are not saved, thus when I reopen saved page offline webpage can't display properly. How do I solve this?

How do I made webpage can be saved properly from browser ? I don't want to use MHT ext. Because what my situation here is I need to give URL for web designer to launch URL, saved webpage and modify CSS/HTML.

share|improve this question

migrated from Jan 11 '10 at 15:54

This question came from our site for professional and enthusiast programmers.

Why do you need to do this? It seems to me that as long as you have the info, it doesn't matter what it looks like. You could always take a screen shot to preserve the layout. – Joshua Nurczyk Jan 11 '10 at 19:17

From your question i understand the ultimate goal is to send all of your assets for your web page to your designer so they can edit the css, graphics etc.

Could you not just zip up all the assets and email it across to the web designer? If this is your web page then you should already have the assets no?

If you try and use save web page complete, it normally messes with the html code anyway so this would not be useful for your designer.

share|improve this answer

I had the same issue; if ajax is used in the page, you can't see the saved page properly. (For example, at first div's are hidden (display:none;) after page is loaded all the hidden divs get revealed.)

We need Final HTML code (Javascript functions executed and all data appearing on screen loaded from server)

I used Firebug's HTML tab to grab that Final HTML Code.

Copy the entire "html" branch and doctype declaration paste into a file. Then copy styles and images folders to the same folder.

share|improve this answer
+1: Great use of Firebug. – John H Dec 1 '11 at 14:23

Have you tried other browsers like Chrome or Opera? IIRC Opera's "Save As" function is quite good.

Like hairbymaurice said, if it's your own web page then you must have the files your designer can edit.

If it's not your web page then why would you want to edit it? Sounds like you're trying to steal/copy the site to me.

share|improve this answer
Unfortunately Chrome and recent versions of Opera have the same problem. Apparently old versions of Opera (before version 9 I believe? Or 7?) could do this, but it seems to have been dropped. – user568458 Jul 29 '14 at 13:01

You might want to give httrack a shot - while its meant for offline browsing, it probably does what you want - i used to to back up a wiki (of my own) into offline, static pages for reference. Just make sure you select the options correctly - it can do spidering and you obviously want a single page ;)

share|improve this answer

One solution could be to change all links to the full link of the web site, then when you will "Save as Webpage, complete" all the thinks that will not be saved will be used online.

share|improve this answer

You can use online Convert Web Page to PDF:

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – soandos Jul 17 '12 at 0:59

In FF25.0.1, this worked:

  • open about:config in the NavBar
  • accept warning
  • search for "save" & find This was originally set to 1, but on resetting (right click & choose Reset) it changed to 0 which immediately resolved the problem.
share|improve this answer
Nope, this is simply how the "Save page as > format" option is stored behind the scenes. 0 = web page only, 1 = web page complete, etc. – user568458 Jul 29 '14 at 11:50

You must log in to answer this question.