in reply to Is there any easy way to buffer a string?

I think I found myself an answer...

Here is a css property that does what I want, in case anyone else is interested.

<style> span { page-break-after: always } </style>

From now on, whenever the browser encounteres a <span> tag, it will insert a page break when printing.

Replies are listed 'Best First'.
Re: Re: Is there any easy way to buffer a string?
by Cine (Friar) on Aug 23, 2001 at 00:24 UTC
    Set this on a specific span id, or you could end up with very funny prints:
    <style> span.printhere { page-break-after: always } </style> example <textarea>balblalblalbla</tesxtare><span id="printhere"></span>


    T I M T O W T D I