Solved

Paper size dependent page break

Posted on 2006-11-27
5
942 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

773 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