/    Sign up×
Community /Pin to ProfileBookmark

Avoid chopped tables when printing

Hi People..
i was wondering if it was possible to “know” the height of a printed page to avoid a table being printed in 2 pages.

i attached a screenshot of what i need to print.. the issue is that the costumer wants to print this, and the charts downward are going to be alot, and when its printed sometimes the table/chart is chopped and printed in 2 different pages..
is there a way to avoid this?

thanks in advance..


———————————————-

[I]Hi, i had already posted this on the javascript forum, if a moderator takes a look at this, please delete the one in javascript, i was told by a member of the JS forum this would be a more appropriate forum to ask.
thanks.[/I]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@LeeUJan 21.2009 — Okay, I removed it. Next time, just let one of the admins/mods know and we can move it to the appropriate forum.
Copy linkTweet thisAlerts:
@CharlesJan 21.2009 — You want a print stylesheet and possibly a LINK to an alternate print version of the page.
Copy linkTweet thisAlerts:
@Leon945authorJan 21.2009 — ok.. well i already have the link to this "printer friendly" version

but i dont know how to create a print style sheet.. is there anything specific i should do?

i searched a bit but all i could find was the attribute "media=print"

is that all i need?
×

Success!

Help @Leon945 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...