自动横向打印 [英] Auto landscape print

查看:84
本文介绍了自动横向打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,如何在横向模式下打印html表格?
我在css文件中使用了它,但是它不起作用,

Hello, how can I make a html table print in landscape mode?
I used this in css file but it doesn''t work,

//css file
.page
{
    size: landscape;
}


//php file
<div class="page">
<table>...</table>
</div>

推荐答案

hi

链接1 [ ^ ]
链接2 [ .landscape {
宽度:100%;
高度:100%;
保证金:0%0%0%0%;筛选器:progid:DXImageTransform.Microsoft.BasicImage(Rotation = 1);
}
</style>
hi

check it out once link 1[^]
link2[^]
or

<style type="text/css" media="print">
.landscape {
width: 100%;
height: 100%;
margin: 0% 0% 0% 0%; filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=1);
}
</style>


选中此项.

http://forums.asp.net/t/1302358.aspx/1 [ ^ ]
Check this.

http://forums.asp.net/t/1302358.aspx/1[^]


这篇关于自动横向打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆