在ie8和Firefox(3.6和4)上,如果你去打印预览,你调整打印比例的百分比或使用缩小到适合。CSS是否有类似scale:50%的属性;或者调整打印比例的东西?
There is Zoom:
http://reference.sitepoint.com/css/zoom和moz/webkit-transform:
http://help.dottoro.com/lcebdggm.php<style type="text/css" media="print">
body {
zoom:75%; /*or whatever percentage you need, play around with this number*/
}
</style>
由于zoom或-ms-zoom在IE8上的工作方式不像我期望的那样,我最终摆弄了字体大小和tr大小。希望微软的缩放功能能像浏览器的打印窗口中的打印缩放/大小功能一样。