On Thu, 08 Mar 2007 23:02:51 +0100, Ingo Chao wrote:
Thought I share some findings on this bug. See a reduced testcase [1].
[sample code snipped]
In IE7 (but not in IE6), only the first page is printed. The print styles
reset
haslayout to false for the parent element.
Um. Just in case
David Hucklesby wrote:
Um. Just in case some neophyte gets misled, I believe that
'hasLayout' cannot be reset. Since 'hasLayout' is not a CSS property,
it does not follow CSS rules.
Hopefully someone will correct me if I am wrong.
Correction: it depends on which property is used to set
David Hucklesby wrote:
On Thu, 08 Mar 2007 23:02:51 +0100, Ingo Chao wrote:
Thought I share some findings on this bug. See a reduced testcase [1].
[sample code snipped]
In IE7 (but not in IE6), only the first page is printed. The print styles
reset
haslayout to false for the parent
Thought I share some findings on this bug. See a reduced testcase [1].
style type=text/css media=all
#parent {
position: relative;
width: 750px; /* sets haslayout=true*/
}
#child {
float: left;
}
/style
style type=text/css media=print
#parent {
width: auto; /* resets
(for example, a border on #parent presents only its border-top fragment).
Since parent does not 'contain' the float anymore, the border behavior
is not a bug, sorry. Forget about that sentence.
Ingo
--
http://www.satzansatz.de/css.html
The solution to this problem was the removal of
width: auto;
from the css
#wrap,#content {
width: auto;
margin: 0 5%;
padding: 0;
border: 0;
float: none !important;
color: black;
background: transparent none;
font-family:Times New Roman,Times,serif;
}
I'm afraid
Bruce MacKay wrote:
Hi folks,
IE7 users on one of my sites are having a problem in printing out a
long (html) document. In all browsers except IE7, three pages appear
in the print preview and three pages are printed.
For IE7 users, the print preview shows 3 pages, but only the first
Hi folks,
IE7 users on one of my sites are having a problem in printing out a
long (html) document. In all browsers except IE7, three pages appear
in the print preview and three pages are printed.
For IE7 users, the print preview shows 3 pages, but only the first
one contains content.
When