You are here: Re: html file page break through browser. « HTML « IT news, forums, messages
Re: html file page break through browser.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация