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.

Reply via email to