Click to See Complete Forum and Search --> : CSS & printing problem
KarlT
02-28-2006, 02:37 PM
Can someone please tell me why the image prints so far down on the page?
http://www.pine-grove.com/web%20calculators/calculator.htm
Here's the style sheet.
http://www.pine-grove.com/css/pgs_calcs_print_styles.css
TIA.
Absolute positioning sometimes messes up print versions. Investigate creating a print-only stylesheet:
http://www.alistapart.com/stories/goingtoprint/
Good Luck -
KDLA
KarlT
02-28-2006, 04:53 PM
Thanks. But still no go. The link I posted is to a printing style sheet. I have all DIV IDs set to display:none, except for the few I want to print. The only problem is getting the ones I want to print to print at the top of the page. :-(
KarlT
03-01-2006, 03:10 AM
FYI: Figured it out. There were some empty DIVs which did not have their display propety set to "none". So while they contained no text, they were taking up space.