|
Posted by Toby Inkster on 06/08/06 07:43
chunji08 wrote:
> I know how to set the breaks when this file is being print out. What I
> am looking for is how to set the page break when the html file is being
> viewed through any browsers.
I don't know exactly what you mean.
An HTML file is viewed as one long page -- it is only when printed onto
sheets of paper that it needs to be broken into pages. When printed, page
breaking is automatically decided by the browser, based on the content
of the page, and also on the size of the paper; but many browsers allow
you to use CSS to fine-tune it.
So I'm not sure what you mean by a page break when it's being viewed on
screen. If you want to divide your information into logically separate
pages, then put them in different HTML files and add links between them.
If you insist on using one file for all the pages, then you could separate
out the logical pages using something like <hr>.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|