Click to See Complete Forum and Search --> : Problem in printing a web page contents


shanuragu
12-13-2003, 03:34 AM
Hi

I am printing details of a web page using the following code.

<script>
function PrintItNow()
{
window.print();
}
</script>

This function will be called in onload function of the body tag.

Web page contents (2 logos and text values) are displayed in a table under a while loop.

My problem is when I try to print this page only part of top logo is printed & rest of the page is empty. If try to print the page by rt clicking on the page & selecting print option, same problem repeats here.

What could be the reason??? It is very urgent, plese help.

shara

haastnooit
12-16-2003, 09:29 AM
Try to make your cache memory bigger, maybe your browser isn't able to load the whole contents of the page in its cache, beacause it's too small.

shanuragu
12-16-2003, 09:36 PM
Thanks haastnooit,
Actually my problem was with <Div> tag for which I had given a pagebreak & I had many div tags with in the First Div tag. Hence the problem.

Shara