I asked this question on HTML forum, finding no reply am asking for some help here.
I have an application in PHP, works fine. The problem comes when I try to see the print preview in FireFox and IE7. With Firefox it works fine but with IE it is not displaying the full second page. It shows all the page in 'shrink to fit' mode, but when I enlarge it, the second page is missing some information. The page is displaying report in tabular form and I have no idea about this strange behaviour of IE.
Since I posted this message earlier, I have been able to progress a bit. While searching for my answer, I came across a site which suggested to add a new css and then it could be referenced from my php page.
Code:
*, html, body, p, OL, UL, LI, #mainContents, #headerLeft , #headerRight, #whatever, #prettyMuchAnyClass {
float:none ! important;
color:#000000;
background: none;
overflow:visible;
text-decoration : none ! important;
font-size: 10pt ! important;
font-family: Georgia, Garamond, "Times New Roman", serif;
}
Now with this I can see the print preview properly, but the lay out of all the pages are way off. Can I get some help here ? or perhaps someone can explain or point me in the right direction.
Thanks.