|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to print each table in one paper. It does but when I use below style, it prints in portrait and the last page is blank... How will I print in landscape and eliminate last blank page without going to changing the print setting each time ?
Code:
<STYLE type="text/css">
P {
page-break-after:always
}
</STYLE>
</head>
<body>
<p>
<table></table>
</p>
<p>
<table></table>
</p>
.
.
.
</body>
|
|
#2
|
||||
|
||||
|
you can't force such things on the browser.
most you can do is to give instructions to the user how to change his/her print settings. |
|
#3
|
||||
|
||||
|
Quote:
Actually, there are provisions that allow you to control [to some degree[ the way the printer prints. http://www.westciv.com/style_master...d/printing.html It's CSS2, and I don't really know how well all the browsers are gonna support it, but it's better than nothing! ![]()
__________________
Support requests via PM will be ignored! |
|
#4
|
|||
|
|||
|
Thank you guys. I believe that I tested some time ago but didnt work... with ie 6.... there should be a way ... himmm..
Quote:
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > CSS - Auto Print in Lanscape |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|