D J
asked on
ColdFusion Print button to default to landscape
Please view my print button code below. I'm trying to default to landscape without success.
Is there another method via ColdFusion instead of windows.print to accomplish landscape?
<style type="text/css">
@media print {
.noprint {
display: none;
size:landscape
}
}
</style>
<input type='button' value='Print' class='noprint' onClick='window.print()' style='width: 50'>
Is there another method via ColdFusion instead of windows.print to accomplish landscape?
<style type="text/css">
@media print {
.noprint {
display: none;
size:landscape
}
}
</style>
<input type='button' value='Print' class='noprint' onClick='window.print()' style='width: 50'>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No, But i will check if i can see how its not behaving proper in IE 9
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you can make a check in html file itself
Do you have the code to check the version of the browser?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks myselfrandhawa!
ASKER
Do you have any info on this?