Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"protect" rows in printing?

Featured Replies

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

look into topic:

JavaScript:Print ony table

Printing from browsers is not exact science.

  • Author

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

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!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.