Also by using the @media property, http://www.ncdesign.org/html/s001.htm as shown here.
Actually this just made me think about your problem, it might be worthwhile to second guess the browser developer at this point, are the pagination properties of css implemented if you have not given your media as being specifically print, I'm betting not, as it might have been easier to implement them if one assumed the developer always had to declare the media as not being screen(the default). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Krenzelok Sent: Friday, December 05, 2003 1:46 PM To: [EMAIL PROTECTED] Subject: [REBOL] Re: page-breaks in html or pdf? Andreas Bolka wrote: >Friday, December 5, 2003, 11:49:00 AM, Petr wrote: > > > >>I chcecked out and did not find any way of how to issue something >>like page-break in html. It is probably not even possible. >> >> > >there are two CSS properties named page-break-before and >page-break-after. by using e.g. > > span style="page-break-after: always;" > >you could achieve what you want. however, i don't know which browsers >respect those attributes. > > > Thanks all to your answers! However - something like following did not work. Neither with IE 5.5 nor Mozilla 6.1a <span style="page-break-before:always"></span> btw - as we are here discussin html/css issues, I have following questions: - our document does not look good in mozilla. It uses absolute pixel positioning for each element. But drawn table (using following code) makes it shifted: <span style="left:0pt;top:000000pt;height:842pt;width:595pt"> <span style="left:022pt;top:099pt;height:100pt;width:266pt;border:001pt solid #000000;background-color:#FFFFFF"></span> <span style="left:288pt;top:099pt;height:100pt;width:266pt;border:001pt solid #000000;background-color:#E6E6E6"></span> <span style="left:022pt;top:198pt;height:596pt;width:533pt;border:001pt solid #000000;background-color:#FFFFFF"></span> I found the difference - IE, when using borders, still keeps the size of the rectangle intact and margins of the area are substracted from the inner area space, otoh Mozilla keeps internal box area intact and border is drawn outside such box. I would like also to know, what is the difference in using <span> and <pre> styles - I simply replaced above 'span styles by 'pre ones and now even Mozilla draws it correctly. -pekr- -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
