Solved

Paper size dependent page break

Posted on 2006-11-27
5
945 Views
Last Modified: 2012-06-27
I use TiddlyWiki  with a CSS optimized for 3x5 printouts.  I want to print also on A4,  but the with more than one item per page.  Is it possible to make the page-break conditional depending of the paper size selected for the printer?

@media print {
....
.tiddler {
 page-break-before: always;
}
...
0
Comment
Question by:Zadkin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
VirusMinus earned 445 total points
ID: 18033775
nope. support for CSS3 page and @page directives is very flaky. I have played around with page-breaks and paper sizes but there are too many factors beyond your control that will override whatever you try to enforce. things like browser print settings, screen sizes, printer settings. etc. etc.
0
 
LVL 7

Author Comment

by:Zadkin
ID: 18036370
Thanks for replying.

I tried "page-break-before: auto;" hoping for some hidden intelligence looking if there is still half a page left.  But still the same.
0
 
LVL 30

Expert Comment

by:VirusMinus
ID: 18044173
Thanks, glad i could give some info. Why the 'B' grade? Saying something can't be done properly does not make it any less of an answer.
0
 
LVL 7

Author Comment

by:Zadkin
ID: 18044328
Nothing personal here,  I tried to follow the directives.  But I must admit I received many A gradings for B or C answers (or even D:Your effort was appreciated).  

So,  yes this is a Good answer.

Select an appropriate grade: (Grading Tips)
A: Excellent!!!
B: Good!
C: Average.
0
 
LVL 30

Expert Comment

by:VirusMinus
ID: 18049772
I'm sorry but thats not the way EE says to grade. My understanding of A: Excellent, B: Good is based on EE's guidelines. When i've received less than good answers i've always given an opportunity to the poster to earn a better grade. or let him know where or how his/her answer could be an A:Excellent answer.

Quote: "Grading at Experts Exchange is not like school. It's more like the "10-point Must" system in professional boxing; in other words, an answer is worth an A, unless it doesn't resolve your issue. If it requires you to do a little more research, or figure out one more piece of code, then it's worth a B. If you think it's not worth a B, the custom is to offer the Experts an opportunity to earn a better grade."

Ref: http://www.experts-exchange.com/help.jsp#hi55

Quote: "Although we use an A-D scale here at Experts Exchange, it works differently than, say, school grades. If one or more Experts' proposals are accepted as answers, they should usually be given an A or B grade, since they have taken the time to provide you with a working solution. If a possible solution is incomplete - ask for clarification or details before accepting the answer and grading it. People should not be given lower grades because of incorrect grammar or because you just accepted their answer or comment to close the question. Keep in mind, your question and any follow-up comments should be focused so that there can be a specific answer. The following is a good guideline to follow when grading:

        * A: The Expert(s) either provided you with a thorough answer or they provided you with a link to information that thoroughly answered your question. An "A" can also be given to any answer that you found informative or enlightening beyond the direct question that you asked.
        * B: The Expert(s) provided an acceptable solution, or a link to an acceptable solution, that you were able to use, although you may have needed a bit more information to complete the task.
        * C: Because Experts' reliability are often judged by their grading records, many Experts would like the opportunity to clarify if you have questions about their solutions. If you have given the Expert(s) ample time to respond to your clarification posts and you have responded to each of their posts providing requested information; or if the answers, after clarification, lack finality or do not completely address the issue presented, then a "C" grade is an option. You also have the option here of just asking Community Support to delete the question."

Ref: http://www.experts-exchange.com/help.jsp#hi73
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question