ErnieG Posted April 19, 2003 Posted April 19, 2003 Perhaps this is more an advanced HTML question? Suppose I have a small table between [FMP-record] and [/FMP-record]. I want people to be able to print this report from their browsers. Is there a code (or another way) to protect that table--or even one row--so that if it doesn't fit on one page it will print completely on the next? Thanks for your time. Ernie
ErnieG Posted April 21, 2003 Author Posted April 21, 2003 Thanks! I'll check that JavaScript reference . . . and not expect any exact science. But FYI, I was looking at style sheet operators, and there was "page-break-inside : avoid" Haven't had a chance to test it, but if it can be applied to a Table (as other attributes definitely can be) then I might be home free. Just thought I'd mention it in case someone else would find it helpful. Ernie
Leb i Sol Posted April 22, 2003 Posted April 22, 2003 I know that there is a way of using CSS to print element specific parts...however, when using CSS you have to worry about cross-browser issues and also when the "new window" is poped you have to construct more JS in order the attach the same CSS in the window that just poped.... Also, the browser must be set to print background images and colors (colours :-) yes we were though by the Brits) IF you desire to have them. Also, I would suggest to remove Header and Footer under Page Setup (IE) so you don't hand out printouts containning DB names and token names...and all the things you try to hide!
Recommended Posts
This topic is 7914 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now