Solved

Paper size dependent page break

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Input box gone wrong 8 33
Why a span is lower 2 26
How to format numbers and letters in nested lists 5 34
really easy css change help please 4 19
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

821 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