Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS - page-break-afgter

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
Is this OK
Code:
p.break { page-break-after: always; }

<p class="break">Page Breaks Here ...</p>



--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Looks ok to me.
Why the question?
Are you expecting it to be wrong for some reason?
Does it not work on certain browsers?


Trojan.
 
Going through process of elimination ... I was not getting the page break where/when expected.

Found the problem to be a syntax error within the template code, not related to CSS.

Thanks!

--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top