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. 21 4312 ar****@inbox.co m wrote:
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.
FWIW, Mozilla doesn't yet support page-break-*: avoid at all; Opera and
Safari print them (there ARE other browsers than IE & FF, you know).
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.
The easiest trick is to switch to a browser that supports the
properties. Although I am a FF user myself, Opera and Safari have better
CSS support in most areas, including printing CSS support.
--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
The easiest trick is to switch to a browser that supports the
properties. Although I am a FF user myself, Opera and Safari have better
CSS support in most areas, including printing CSS support.
It's much more likely that our users will switch to another web site,
than we get them to change browsers for the sake of just printing our
content properly, I'm afraid.
Stan Brown wrote:
Thu, 17 Jul 2008 21:25:15 GMT from Joshua Cranmer <Pidgeot18
@verizon.invali d>:
>The easiest trick is to switch to a browser that supports the properties. Although I am a FF user myself, Opera and Safari have better CSS support in most areas, including printing CSS support.
Not just CSS -- Mozilla 1.7 had the nasty habit of breaking images
across pages, and FF 2 still does.
Mozilla 1.7? Obsolete browser from 2005. SeaMonkey is the up to date
version.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com
Stan Brown wrote:
Fri, 18 Jul 2008 19:25:28 -0400 from Jonathan N. Little
<lw*****@centra l.net>:
>Stan Brown wrote:
>>Not just CSS -- Mozilla 1.7 had the nasty habit of breaking images across pages, and FF 2 still does.
Mozilla 1.7? Obsolete browser from 2005. SeaMonkey is the up to date version.
Perhaps you overlooked the rest of my statement, that Firefox 2 has
the same problem.
Firefox is currently at version 3.0. Also later versions of 2.x and my
latter versions of my SeaMonkey do not break across images. SeaMonkey
has the embedded mail client and I am always receiving emails with
pictures, haven't had a problem with broken images since, well Mozilla
1.7.x!
Now that said, websites that were designed by Absolute-Position-Freaks
present printing problems for all browsers...
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO http://www.LittleWorksStudio.com ar****@inbox.co m wrote:
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.
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.
--
Ed Mullen http://edmullen.net
FATAL ERROR! SYSTEM HALTED! - Press any key to do nothing.
On Jul 19, 10:36*am, Ed Mullen <e...@edmullen. netwrote:
>
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.
--
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).
On Jul 19, 10:36*am, Ed Mullen <e...@edmullen. netwrote:
>
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... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bruce W...1 |
last post by:
I made my first PHP page that uses includes.
http://php.didah.com/main.php
But I can't get rid of a gap (about 5 pixels) between the table rows.
The content of each include file is one line like this:
<img src="images/nav.gif" width="100" height="600" hspace="0"
vspace="0" border="0">
No head or body tags. Just a 100 x 600 gif image.
...
|
by: John |
last post by:
I have a table with two rows. On the first row is a text box and in
the second row is an image. I have set the table cellpadding to 0 and
cellspacing to 0.
The table is leaving extra spaces in the rows on the top and bottom of
the picture and image. I need to make the height of the rows to be the
same as the textbox and image. How do I do...
|
by: Harry Gould |
last post by:
To all,
I'm a newbie here, so please bear with me.
I develop web pages for a company intranet where Internet Explorer 6
is the standard. Now I must develop a public internet website that is
browser-agnostic (i.e., works with Netscape, version 4x, 7x, etc). My
question is this: I have about 10 table rows, each tagged with a class...
|
by: Wang, Jay |
last post by:
I try to group several rows in a table into a div and show/hide them by
click on a button somewhere with a javascript link. When clicked, the link
will toggle the style of the div section's style between BLOCK and NONE.
This technique works on normal text fine, but it doesn't work on part of the
table, is there a solution that I can achieve...
|
by: luvdairish |
last post by:
Can someone please look at my code and see why tables are not hiding
properly?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Untitled Document</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<SCRIPT type=text/javascript>
<!--//
| |
by: AR |
last post by:
Hi,
How can I hide table rows? ... tried with the following example:
FireFox works... How to do the simillar in IE6?
<html>
<head>
<script language="javascript">
function hide_row() {
var v = document.getElementsByName("trBook");
v.style.display = 'none';
|
by: mike |
last post by:
If I have a table defined with multi-level rows I'd like to change the
first level row color background. So the table looks like:
<table id="mytable">
<tr>
<td><table><tr><td></td></tr></table></td>
<td><td>
<td><table><tr><td></td></tr><tr><td></td></tr></table></td>
</tr>
..
..
|
by: leiño |
last post by:
Hi,
i am adding table rows dynamically with javascript. This works fine.
The table is inside a div with scrolls, initially with 6 rows:
.....
<div style='overflow:auto; width:100%; height:100;'>
<table>
<tr><td>nothing</tr></td>
<tr><td>nothing</tr></td>
|
by: array7 |
last post by:
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |