0
在下面的代码中,使用显示的html代码生成一个证书.ie,这个html会在稍后转换为pdf等等。我的问题是当html页面打印出来后,总是出现在肖像模式。可以任何一个让我知道如何通过在html的变化,CSS代码在横向模式下获取htmlpage
<body>
<div style='text-align:center;background-image: url(merit);background-repeat:no-repeat;width:1650px;height:900px;padding-top:340px;font-family:\"Times New Roman\";'>
<font style='font-size:90px;color:#122229;'>Certificate of merit</font><br/>
<font style='font-size:35px;color:#212219;'>Awarded to </font><br><br>
<font style='font-size:45px;color:#3f3c32;'><b>Tom</b></font><hr color='#666666' style='width:600px;'><br/><br/>
<font style='font-size:60px;color:#993399;'>for the position</font><br/>
<font style='font-size:60px;color:#3f3c32';>Mnnager </font><br/><br/>
<font style='font-size:30px;color:#564782';>12-Feb-2010</font><hr color='#fffff' style='width:400px;'><br/>
</div>
</body>