Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set print layout to landscape

Status
Not open for further replies.

Mike2020

Programmer
Mar 18, 2002
55
US

Hi,

I try to set the print layout to landscape when user print.
I have this code in my asp/html file, but it somehow doesn't work.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD>
</head>

<style type="text/css" media="print">
@page {size: landscape;}
</style>

<BODY bgColor="#e5e5e7" leftMargin="4" topMargin="4" rightMargin="3">
<FORM name="form1" action="FReq_Furniture.asp" method="post">
<TABLE cellSpacing="0" cellPadding="0" width="800" align="center" bgColor="#e5e5e7" border="0">
</table>
</form>
</body>
</htmL>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top