Just what I needed.  Thanks. 




-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 25 March, 2003 10:18
To: CF-Talk
Subject: Re: Page break in report


Candace Cottrell wrote:
> Put this at the top of the page in your <head>
>  
> <STYLE TYPE='text/css'>
> P.pageEnd {page-break-before: always}
> </STYLE>

May I recommend:
<style type="text/css" media="print">
p.pageEnd {page-break-before: always}
</style>

The default media-type for CSS is "screen", so without specification it 
should not work for printed media. Also, in xhtml elements and 
attributes are case sensitive and should be lowercase (in this example 
the class "pageEnd" is still case-sensitive, you might want to lowercase 
that as well).

http://www.w3.org/TR/html401/present/styles.html#h-14.2.4
http://www.w3.org/TR/xhtml1/#h-4.2

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to