Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / HTML / July 2008



Tip: Looking for answers? Try searching our database.

Has anyone come up yet with a trick to prevent breaking up table rows     (TR) while printing?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
array7@inbox.com - 17 Jul 2008 21:26 GMT
I have been reading a lot of archived threads about "page-break-
inside: avoid" not supported by IE5, IE6 IE55, IE7 and Firefox
(Mozilla), which creates a really unpleasant-looking printout with
broken table rows.

I wonder if after all these years in discussion anyone had come up
with a trick using maybe some combination of "page-break-before",
"page-break-after" or div properties that would prevent the
situation.

Our clients use various browsers with various environments, so it's
unlikely that spooling a PDF or some other funky format could help us.

We would really like to determine the HTML/DHTML/JavaScript solution.
Maybe even not using tables, but div or paragraph elements - something
that won't be page-broken for sure.
Ed Mullen - 19 Jul 2008 18:36 GMT
> I have been reading a lot of archived threads about "page-break-
> inside: avoid" not supported by IE5, IE6 IE55, IE7 and Firefox
[quoted text clipped - 12 lines]
> Maybe even not using tables, but div or paragraph elements - something
> that won't be page-broken for sure.

What do you want to happen when a table is too long to fit on a piece of
paper?

Also, I'm not having any problems with printing of tables in SeaMonkey
or Firefox.

It would help to post a URL and describe what unwanted action is
happening when printing the page.

Signature

Ed Mullen
http://edmullen.net
FATAL ERROR! SYSTEM HALTED! - Press any key to do nothing.

array7@inbox.com - 23 Jul 2008 01:43 GMT
> What do you want to happen when a table is too long to fit on a piece of
> paper?
[quoted text clipped - 7 lines]
> --
> Ed Mullenhttp://edmullen.net

I would want such table to be broken along the TR lines, meaning that
a page break should not occur inside a table row or (if an alternative
to a table is chosen) inside a block of information.

I'll see if I can set a sample somewhere, since I'm pretty sure
Firefox tears table rows (just checked on my browser v2.0).
Ed Mullen - 23 Jul 2008 04:44 GMT
>> What do you want to happen when a table is too long to fit on a piece of
>> paper?
[quoted text clipped - 14 lines]
> I'll see if I can set a sample somewhere, since I'm pretty sure
> Firefox tears table rows (just checked on my browser v2.0).

I'm sorry.  Your answer didn't really address directly what I asked.
But, the most important thing is that you didn't provide any URLs to
examples of what you're trying to do and why it's not working.

Signature

Ed Mullen
http://edmullen.net
Do Lipton employees take coffee breaks?

array7@inbox.com - 23 Jul 2008 01:47 GMT
> What do you want to happen when a table is too long to fit on a piece of
> paper?
>
> Also, I'm not having any problems with printing of tables in SeaMonkey
> or Firefox.

I want to make sure that a table row or a block of information, if
tables are not used, is not torn by a page break when printing.

I just verified with Firefox 2.0, it does that.

I'll see if I can put an example somewhere...
Jonathan N. Little - 23 Jul 2008 04:31 GMT
> I want to make sure that a table row or a block of information, if
> tables are not used, is not torn by a page break when printing.
>
> I just verified with Firefox 2.0, it does that.
>
> I'll see if I can put an example somewhere...

Why are you using a 2-year old version of Firefox. Unlike that OS
component that masquerades as a web browser, Firefox and others like
Opera are not linked to the OS and can be upgraded, usually
automatically. Firefox 2.0 had a number of display bugs, many fixed in
later version of 2.x.x and even more in v3.0.1...

<trimmed xposts m.p.w.i.i.b doesn't really apply>
Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Stan Brown - 24 Jul 2008 03:41 GMT
Tue, 22 Jul 2008 23:31:40 -0400 from Jonathan N. Little
<lws4art@central.net>:
> Why are you using a 2-year old version of Firefox. Unlike that OS
> component that masquerades as a web browser, Firefox and others like
> Opera are not linked to the OS and can be upgraded, usually
> automatically. Firefox 2.0 had a number of display bugs, many fixed in
> later version of 2.x.x and even more in v3.0.1...

Though I was a bit miffed at the tone of a suggestion made earlier, I
nonetheless followed it and upgraded to Firefox 3.0.1.  I like it so
far, particularly with the prefbar extension.

One minor lack: there's no Print Preview on the toolbar and I can't
figure out how to add it. Yes, I can do it through the menu but I use
PP so often that I'd like a one-click solution.

Signature

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                 http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
   http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you

Jonathan N. Little - 24 Jul 2008 03:48 GMT
> One minor lack: there's no Print Preview on the toolbar and I can't
> figure out how to add it. Yes, I can do it through the menu but I use
> PP so often that I'd like a one-click solution.

I wish it did too, as far as I remember FF never had Preview button, my
browser is SeaMonkey which does. Maybe there is an extension out there...

Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Stan Brown - 27 Jul 2008 13:18 GMT
Wed, 23 Jul 2008 22:48:51 -0400 from Jonathan N. Little
<lws4art@central.net>:
> > One minor lack: there's no Print Preview on the toolbar and I can't
> > figure out how to add it. Yes, I can do it through the menu but I use
> > PP so often that I'd like a one-click solution.
>
> I wish it did too, as far as I remember FF never had Preview button, my
> browser is SeaMonkey which does. Maybe there is an extension out there...

Do you, or does anyone, know where there is support for Firefox
questions other than in the Firefox forum at
http://support.mozilla.com/forum ?

I tried several times to ask a question, but each time I got an error
message that I had mistyped the five-digit verification number.  I
can imagine that I might mistype it once, but it's a bit of a stretch
to think that I would mistype every one of half a dozen different
numbers.

Signature

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                 http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
   http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you

Blinky the Shark - 27 Jul 2008 15:50 GMT
> Wed, 23 Jul 2008 22:48:51 -0400 from Jonathan N. Little
> <lws4art@central.net>:
[quoted text clipped - 8 lines]
> Do you, or does anyone, know where there is support for Firefox questions
> other than in the Firefox forum at http://support.mozilla.com/forum ?

mozilla.support.firefox  on server news.mozilla.org

It also has mozilla.support.seamonkey (and other groups).

I don't know if there's duplication between m.s.f and the web forum you
mention; I try to avoid web forums.

Signature

Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Need a new news feed?  http://blinkynet.net/comp/newfeed.html

Ed Mullen - 27 Jul 2008 19:05 GMT
>> Wed, 23 Jul 2008 22:48:51 -0400 from Jonathan N. Little
>> <lws4art@central.net>:
[quoted text clipped - 13 lines]
> I don't know if there's duplication between m.s.f and the web forum you
> mention; I try to avoid web forums.

Also:

http://forums.mozillazine.org/

Signature

Ed Mullen
http://edmullen.net
The hilarious thing about self-important self-righteous people is that
they are so easily baited.

Blinky the Shark - 28 Jul 2008 06:06 GMT
>>> Wed, 23 Jul 2008 22:48:51 -0400 from Jonathan N. Little
>>> <lws4art@central.net>:
[quoted text clipped - 18 lines]
>
> http://forums.mozillazine.org/

Grrrrr...web forums...grrrrr...    ;)

Signature

Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Need a new news feed?  http://blinkynet.net/comp/newfeed.html

Ed Mullen - 28 Jul 2008 16:02 GMT
>>>> Wed, 23 Jul 2008 22:48:51 -0400 from Jonathan N. Little
>>>> <lws4art@central.net>:
[quoted text clipped - 19 lines]
>
> Grrrrr...web forums...grrrrr...    ;)

Yeah, yeah, I know, me too.  But, Mozillazine is a great source for Moz
products support and info.

Signature

Ed Mullen
http://edmullen.net
Very funny Scotty - now beam down my clothes.

Stan Brown - 28 Jul 2008 21:25 GMT
Sun, 27 Jul 2008 08:18:21 -0400 from Stan Brown
<the_stan_brown@fastmail.fm>:

> Do you, or does anyone, know where there is support for Firefox
> questions other than in the Firefox forum at
> http://support.mozilla.com/forum ?
[where the CAPTCHA verification seems to be broken]

Sun, 27 Jul 2008 14:05:59 -0400 from Ed Mullen <ed@edmullen.net>:
> http://forums.mozillazine.org/

Sun, 27 Jul 2008 07:50:51 -0700 from Blinky the Shark
<no.spam@box.invalid>:
> mozilla.support.firefox  on server news.mozilla.org

My thanks to you both!

Signature

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
                                 http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator:      http://validator.w3.org/
CSS 2.1 spec:   http://www.w3.org/TR/CSS21/
validator:      http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
   http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you

Helpful person - 25 Jul 2008 20:57 GMT
On Jul 17, 4:26 pm, arr...@inbox.com wrote:
> I have been reading a lot of archived threads about "page-break-
> inside: avoid" not supported by IE5, IE6 IE55, IE7 and Firefox
[quoted text clipped - 12 lines]
> Maybe even not using tables, but div or paragraph elements - something
> that won't be page-broken for sure.

I tackled this problem about 2 a year ago.  However, I never found a
solution.  One can't even force a page break between table rows.  Hope
someone can come up with an answer.
array7@inbox.com - 28 Jul 2008 22:25 GMT
> On Jul 17, 4:26 pm, arr...@inbox.com wrote:
>
[quoted text clipped - 20 lines]
>
> - Show quoted text -

I set up 2 sample pages to illustrate the problem.

http://array7.angelfire.com/print.html
http://array7.angelfire.com/print2.html

The table displayed is cut during printing inside a table row in both
IE & Firefox.
These browsers (IE6 & Firefox 2 are the two most common clients used
to browse our web site).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.