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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

@page {size:landscape ..} not supported by IE ?

Status
Not open for further replies.

delorfra

Programmer
Mar 8, 2001
79
FR
Hi,

I have added the code below to print the document with a landscape orientation but when I print it I still get a Portrait orientation (IE4 to IE 6 tested) :

<HEAD><TITLE>...</TITLE>
<STYLE>
@page { size:landscape; }
</STYLE>
</HEAD>

I have also tested size:29.7cm 21.cm; without success

Any idea why it does not work ?

Thanks
 
I guess its a part of CSS2 that IE doesn't support. There really isn't a way (yet) to have much control over your printing with just html/css.

If you don't mind using an ActiveX control you might want to take a look at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top