I want to print a html page.
The html page is developed by me, this page can be printed with mozilla, ie.
In Chrome: when pressing CTRL+P it brings up the preview window, but it says: "Print preview failed", and i can't print anything.
In opera it doesn't brings up the print window, nor from pressing CTRL+P nor from Menu->Print, Safari prints a white page.
Do you have any ideas what could be wrong? What kind of error can cause this problem? Is there any error log for chrome, to figure out what is wrong?
No success... Is there a possibility, that the css is to large for the browser to compile it? the css has imports inside, i tried to remove them, but this doesn't resolved my problem... Any other suggestions?
I have the following:
<link rel="stylesheet" href="/css/style.default.css" type="text/css" media="all"/>
<link rel="stylesheet" href="/css/myStyle.css" type="text/css" media="all"/>
<link rel="stylesheet" href="/css/print.css" type="text/css" media="print"/>
Finally i found the error. 2 css rules have blocked the browser from generating the preview:
min-height: 100%; height: 100%;