求教CSS高手,firefox和IE的打印预览
以下代码
在IE中打印预览中,显示两页,并可以翻页,
在firefox中打印预览,显示只有一页,不可以翻页。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head><title></title>
</head><body>
<div style="position: relative; width:100%;height:100%;"><div
style="position:absolute;left:234px;top:54px;width:607px;height:32px;overflow:hidden;"><tabl
e border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td style="font
-size:27px;font-family:Arial;word-wrap:break-word;border-width:0px;border-
style:solid;border-color:black;text-align:center;vertical-align:top;"><b>Work
orders</b></td></tr></table></div><div
style="position:absolute;left:37px;top:96px;width:66px;height:14px;overflow:hidden;"><table
border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td style="font-
size:11px;font-family:Arial;word-wrap:break-word;border-width:0px;border-style:solid;border
-color:black;text-align:left;vertical-align:top;"><b>WO No.</b></td></tr></table></div>
<div style="page-break-before:always" id="pb1"></div>
<div style="position:relative;width:100%;height:100%" id="bk1"><div
style="position:absolute;left:234px;top:54px;width:607px;height:32px;overflow:hidden;"
id="o1"><table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td
style="font-size:27px;font-family:Arial;word-wrap:break-word;border-width:0px;border-
style:solid;border-color:black;text-align:center;vertical-align:top;"><b>Work
orders</b></td></tr></table></div><div
style="position:absolute;left:37px;top:96px;width:66px;height:14px;overflow:hidden;"><table
border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td style="font-
size:11px;font-family:Arial;word-wrap:break-word;border-width:0px;border-style:solid;border
-color:black;text-align:left;vertical-align:top;"><b>WO No.</b></td></tr></table></div>
</body>
</html>