• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

web page breaks in IE4

Does anyone know how to make a page break happen with IE4.
I have tried using the style

<p style="page-break-after:always">xxxx"</p> and it doesn't work for me.

I am trying to page break inside a table. Is that the problem ? It works fine with IE5.
0
pcorreya
Asked:
pcorreya
  • 3
  • 2
1 Solution
 
Jean Marie GeeraertsCommented:
I verified using Bradsoft's TopStyle if the applied styled is supported by IE4 and apparently it is. (You can download an evaluation copy at http//www.bradsoft.com)
I use this software to verify that the styles I use are supported in the different browsers that are available on our intranet.
Unfortunately I can't test for IE4.
But you might very well be right in assuming that the table is causing the problem. You can easily find out if that's the case. For testing purposes, put a page-break just before the table and see if the table gets printed on the next page.
0
 
CRAKCommented:
I have successfully used this one once; not inside a table and not in MSIE4 (it worked in MSIE5):

<DIV STYLE="page-break-before: right;"></DIV>

It's part of CSS2 (see http://www.w3.org/TR/REC-CSS2), which got only partially supported, even in MSIE5 (don't know about 5.5 and 6). No luck in Netscape 4.7 either!

I have a feeling that it's NOT going to work in MSIE4.... as you observed.
FYI: I tried alternatives like @NewLine, @Char(10), @Char(13) etc. as well: did not succeed!
0
 
Jean Marie GeeraertsCommented:
It works in IE4 too, I'm just not sure whether it will work if it's inside a table. Might be that the problem is there.
Anyway, we'll know once pcorreya tests it.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
pcorreyaAuthor Commented:
jerrit & CRAK

I did some testing, it doesn't work inside a table, but only works outside the table.

Thanks for your help.

Regards
Patrick
0
 
Jean Marie GeeraertsCommented:
I thought as much, but couldn't test, since I don't have a PC with IE4 available here (or at home).
Anyway, glad to have been of some help to you.
0
 
CRAKCommented:
Thanks for the info!
This way we all learn some!  ;-))
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now