ma******@yahoo.com wrote:
Hello,
I am a novice/moderate html programmer and I wonder how to tell the
browser from which start point and to which end point in the text will
each page be printed.
In other words, I have a single html text that contains different
informations that are displayed alltogether in the same browser.
When I print this page, the browser should put each different subject
in a separate page and not having it all mixed up.
Is it possible? How should i do it?
Ps.: This text can't be divided in different html files, it is only one
html file.
Thanks in advance,
Marcel.
To start with, this seems a peculiar goal; if it is desirable to render
separable parts of content "all mixed up" in one medium, why is it
desirable to separate parts of the same content in another?
The CSS media property is intended to permit one to 'render' a resource
differently in different media. Some combined use of media with other
CSS properties, such as class, might result in what you describe, but I
think that would--to put it nicely--extend the idea of rendering way
beyond what's intended by the standard. It would in any case be very
contrived.
I think the given html fails to achieve its objective. Re-consider
whether the content should be all mixed up in any medium.