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.
LVL 1
pcorreyaAsked:
Who is Participating?
 
Jean Marie GeeraertsApplication EngineerCommented:
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
 
Jean Marie GeeraertsApplication EngineerCommented:
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
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
Jean Marie GeeraertsApplication EngineerCommented:
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
 
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
 
CRAKCommented:
Thanks for the info!
This way we all learn some!  ;-))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.