Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 6, 2007, 6:35 am
rate this thread
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>
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.
Looking forward for reply.
Thanks & Regards,
Re: HTML Page Break Problem
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
Why don't you post the URL and specify the browser(s) you tested it on`?
Jukka K. Korpela ("Yucca")
- » what's wrong with this iframe? (works in Firefox, but not IE7)
- — Previous thread in » HTML Markup Language