You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by SUPRIYA MISRA <su...@hotmail.com> on 2001/11/06 20:32:11 UTC
Page Breaks in HTML/JSP
Sometime back I asked this question to this user-group:-
How does one enforce page breaks in JSP/HTML for reporting. I got the answer
and wish to share with this user group
Put these 3 line on your HTML/JSP Page. It will break on <H6> tag. You can
Break on any tag - H6 is just an example. The page wont display the page
break but when you print it will break.It wont break on </H6> so make sure
you have both together so that your output does not mess up.
Draw Backs:- If <H6> is inside a <table></table> tag it wont work
/********************************************************************/
<STYLE TYPE="text/css">
H6 {page-break-before: always}
</STYLE>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>