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

Posted by Gernot Frisch on 06/12/06 10:32

<chunji08@gmail.com> schrieb im Newsbeitrag
news:1149828528.178373.295320@y43g2000cwc.googlegroups.com...
>
> Gernot Frisch wrote:
>> > Does someone know how to set a page break in html ?
>> >
>> > 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.
>>
>> there's no html tag for forcing a page break when printing. Yes,
>> it's
>> a very pitty that there is no such thing. No, there is _no_ excuse
>> for
>> it.
>>
>> You can however try:
>> <br clear=all style='page-break-before:always'>
>
> I have tried, as your suggestiong on IE 6.0. But it does not work
> for
> me. Following is the highlights of how I edit my html file. Any
> comments ? Thanks again for the help !
>
> "
> <html>
> <head>...</head>
> <body>
> <table....> .... </table>
> <br clear=all style='page-break-before:always'>
> <table...> ... < /table>
> <br clear=all style='page-break-before:always'>
> <table ... > ... </table>
> </body>
> </html>
>


<p style="page-break-before: always">
PAge 1
<p style="page-break-before: always">
Page 2

 

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

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