You are here: Re: HTML Page Break Problem « HTML « IT news, forums, messages
Re: HTML Page Break Problem

Posted by Jukka K. Korpela on 06/06/07 16:04

Scripsit rehanbasar:

> I am facing some problems while using page break in my web page. I am
> using this code for inserting a page break.
> <tr> <td> <p style="PAGE-BREAK-AFTER: always"> </p> </td> </tr>

You have table row consisting of one cell only, containing a paragraph
containing a space only. That doesn't sound very logical. If you want a page
break after some element, why don't you suggest that, instead of introducing
an artificial element with rather unpredictable effects. (By HTML specs,
browsers should ignore empty paragraphs. But do they? And is that paragraph
empty?)

> After writing the line whole table in page shift downwards in the page
> leaving behind the white space on top of the page. I have tried valign
> and many other options but so far I am unable to do it successfully.

Why don't you post the URL and specify the browser(s) you tested it on`?

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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