By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,985 Members | 1,863 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,985 IT Pros & Developers. It's quick & easy.

Should print 4 pages - but only prints two

P: 6
I've built a website using CSS, and am relatively new to the art.

The lady I'm making it for noticed that a long page of text doesn't print properly (why print web pages?????) and I figured it had something to do with CSS as I'm new to it.

Here's the page:

Looking at the print preview it only shows 2 and a bit pages when there should be 3 or 4


Sep 22 '06 #1
Share this Question
Share on Google+
3 Replies

Expert 100+
P: 1,071
so is the lady printing using File-->Print?
if so, you should put in a script that will automatically print the whole thing

[HTML]<a href="javascript:window.print();">Print this page</a>[/HTML]

that should print the entire thing, i think
Sep 22 '06 #2

P: 4
The javascript is a band-aid; it doesn't solve the problem. Some users will still try to use their familiar Print or Print Preview. In MSIE they will get what looks like a complete printout only to find out later that it isn't complete after all. Worse, in Firefox, Print Preview hung Firefox so that the only way to recover was to ask Windows XP to terminate it, with all its windows and tabs.

There's something basically wrong with the page code that should be fixed, not just covered up with a javascript workaround, but I'm not expert enough to be able to look at the code and see what's wrong.
Sep 30 '06 #3

Expert 100+
P: 1,071
its probably not your code,
you might just want to cut down your webpage size, make it into separate pages for each section

when im designing a website, i try and keep the webpage size under 7 kb
yours is 14.49 kb, plus its really really long
Oct 1 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.