Skip to content


用php控制word的打印边距

将生成的word文件另存为htm,用文本比较工具(如svn的diff)差看差异,就可以找着关键点了。

<style>
<!–
@page Section1
 {size:595.3pt 841.9pt;
 margin:33.0pt 33.15pt 33.0pt 33.15pt;
}
div.Section1
 {page:Section1;}
……
</style>

<body>

<div  class=Section1>
…….
</div>
…….

Posted in Others, 技术.

Tagged with , , , .


No Responses (yet)

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.