/    Sign up×
Community /Pin to ProfileBookmark

How to adjust webpage to be printable in portrait, not landscape

I have created a couple of websites. I now have a problem with some pages on my last project. they fit the screen perfectly, but when they are printed, landscape has to be used instead of portrait. how can i fix this. I am refering to fixing the webpage, not the printer settings. tables are used on one of the pages. Thanks for your help.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@sinciliteDec 09.2006 — You can use a print style sheet to change the css for printing I dont know how much help that would be to you though.

It's not that the website is broken or needs fixing it simply that printing from the web can be a little hit and miss if you dont plan for it.
Copy linkTweet thisAlerts:
@felgallDec 09.2006 — To be able to have all of your pages print properly with portrait orientation you need to make sure that the content will fit within a 730 pixel width. Any wider and some printers with wide margins will lopp off the right hand edge. Any wider than 770 pixels and almost all printers will lose some of what is at the right. If your pages can display in that width then you don't need to do anything special for printing. If they don't fit that width then those using 800x600 screen resoltuion wont see the page properly either so it is probably worth fixing the page so it displays properly in that width all the time rather than just for printing.
×

Success!

Help @swrowley 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.21,
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,
)...