/    Sign up×
Community /Pin to ProfileBookmark

printing/forcing html page in landscape mode using css

Hello All,
I want to print one html page in landscape mode(both in IE and firefox MOzilla)

[CODE]<style type=”text/css” >
table {
border:1px solid #999999;height:234px;width:378px;
size:landscape;

}
html {
margin: 0px;

}

</style>[/CODE]

and use above mentioned code in my php page but nothing can be happen.
Also in some forum I found it may or may not possible to force html page or browser to print in Landscape mode.

Any help is appreciated.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 25.2008 — See your other post.

Multiple logins are not permitted.
×

Success!

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