Re: [css-d] Avoiding empty pages in print - any ideas?

2006-09-08 Thread Zoe M. Gillenwater
Tom Livingston wrote:
 I've created a print.css that does what I want most of the time.
 However, every now and then I end up with empty pages. Does anyone know
 of a trick I could use to loose at least the last empty page? I've
 searched high and low, but I can't find something workable.

   

 Sorry, no time to peek...

 Are you floating major sections of the content? Like a 2- or 3-col
 layout? Try adding to (or adding period) your print style:

  * {float:none;} -- or a specific element instead of *

 That solved similar things for me. Print is getting tricky for me lately...

   

No -- the issue with the page is that there's a heading followed by a 
huge image (diagrams of how to do origami). The heading prints on page 
1, and the amount of space left on page 1 is not enough for the image to 
fit into. So it starts on the second page, where it fits completely. As 
I said, there simply isn't enough space. Since these are diagrams, I 
think it is preferable to not break them, so the current behavior is the 
only other option.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Avoiding empty pages in print - any ideas?

2006-09-08 Thread david
Zoe M. Gillenwater wrote:
 Tom Livingston wrote:
 I've created a print.css that does what I want most of the time.
 However, every now and then I end up with empty pages. Does anyone know
 of a trick I could use to loose at least the last empty page? I've
 searched high and low, but I can't find something workable.

 Sorry, no time to peek...

 Are you floating major sections of the content? Like a 2- or 3-col
 layout? Try adding to (or adding period) your print style:

  * {float:none;} -- or a specific element instead of *

 That solved similar things for me. Print is getting tricky for me lately...

 No -- the issue with the page is that there's a heading followed by a 
 huge image (diagrams of how to do origami). The heading prints on page 
 1, and the amount of space left on page 1 is not enough for the image to 
 fit into. So it starts on the second page, where it fits completely. As 
 I said, there simply isn't enough space. Since these are diagrams, I 
 think it is preferable to not break them, so the current behavior is the 
 only other option.

Now if the diagrams were Scalable Vector Graphics (SVG), and browsers 
understood such things well enough, you could resize the diagram in the 
print.css and still have a good printed result ...

-- 
David
[EMAIL PROTECTED]
authenticity, honesty, community
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Avoiding empty pages in print - any ideas?

2006-09-08 Thread francky
david wrote:

Zoe M. Gillenwater wrote:
  

 No -- the issue with the page is that there's a heading followed by a

huge image (diagrams of how to do origami). The heading prints on page 
1, and the amount of space left on page 1 is not enough for the image to 
fit into. So it starts on the second page, where it fits completely. As 
I said, there simply isn't enough space. Since these are diagrams, I 
think it is preferable to not break them, so the current behavior is the 
only other option.



Now if the diagrams were Scalable Vector Graphics (SVG), and browsers 
understood such things well enough, you could resize the diagram in the 
print.css and still have a good printed result ...
  

1.
Not mentioned yet: offer a link to a print version, which can be a 
Word- or pdf document.
Pro: then the diagrams can be more as you want them to be printed on A4, 
without empty pages or spaces.
Con: At the start once some extra work. - And: if a page is changed, the 
print version has to be adapted too (but in your case the pages are 
rather static). And: adding a page means adding a new print document. If 
planned 10's of pages in future, I should not do it this way. ;-)

2.
And another option, with use of the page-html. You can turn around the 
printing order in the print stylesheet: first the diagram (whole page, 
or some less), second page the header (can be now a footer too) and 
other stuff you want to be printed. Then the gap between the pages will 
be minimalised. The second page will be ending with the white space 
which caused the gap; but that is normal for the end of a document. :-)

Greetings,
francky

__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Avoiding empty pages in print - any ideas?

2006-09-07 Thread Zoe M. Gillenwater
hepabolu wrote:
 Hello list,

 I've created a print.css that does what I want most of the time. 
 However, every now and then I end up with empty pages. Does anyone know 
 of a trick I could use to loose at least the last empty page? I've 
 searched high and low, but I can't find something workable.

 Also: could people on OS other than Mac or using another default paper 
 size than A4, please let me know if things work out?

 on this page it works:
 http://www.origami-osn.nl/minori/model2006-08.html

 on this page I end up with an empty page at the end:
 http://www.origami-osn.nl/minori/model2006-07.html

 The first obvious idea to make the image smaller is not an option since 
 I might have multiple images.
   

Helma,

If the image is too big to fit on a piece of paper, with the other 
content that is already there, the browser has only two options: split 
the image across the sheets, or push the whole thing to the next page so 
it can display in one piece. My browser was doing the second option, 
which I think you would agree with me is far preferable to the first 
option in this case, no? So I'm afraid that you'll have to live with it. 
If something doesn't fit, it doesn't fit, unless you make it smaller.

Where the pages break is going to be entirely dependent on the users' 
settings anyway: paper size, paper orientation, whether they have shrink 
to fit turned on, whether they are printing at 50% size, etc. So there's 
only so much you can do to control this. I think the way you have it set 
up now is the best you can do.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] Avoiding empty pages in print - any ideas?

2006-09-07 Thread Tom Livingston
  I've created a print.css that does what I want most of the time.
  However, every now and then I end up with empty pages. Does anyone know
  of a trick I could use to loose at least the last empty page? I've
  searched high and low, but I can't find something workable.
 

Sorry, no time to peek...

Are you floating major sections of the content? Like a 2- or 3-col
layout? Try adding to (or adding period) your print style:

 * {float:none;} -- or a specific element instead of *

That solved similar things for me. Print is getting tricky for me lately...

HTH


-- 


Tom Livingston | Senior Multimedia Artist | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/