I have used (as usual) @media print
rules to specify how the print of a web page should be different to the online version. This works quite well, but the test is really difficult. What I usually has to do are the following steps:
- Create the different style for
screen
andprint
. - Start your page in the screen mode
- Print the page e.g. to a PDF printer.
- Look at the result.
- Try to find the rules that behave wrong.
What I would like to do (but was not able to do it with any browser):
- Create the different style for
screen
andprint
. - Start your page in the screen mode
- Go into the preview print mode (e.g. for Opera, Firefox available)
- Use the available tools like Firebug (Firefox) or Dragonfly (Opera) to inspect the DOM and the current styles.
- Change the CSS on the fly, reload the page, and look at the result and the DOM again.
Is there any browser or combination of browser, plugin and process available to get similar results? If you have ideas how to change the organizations of the files, with the most minimal changes to get the wished result, you are welcome.