Solved

Paper size dependent page break

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now