[REBOL] Re: page-breaks in html or pdf?
From: petr:krenzelok:trz:cz at: 5-Dec-2003 13:46
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
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:
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.