html export word adjust the margins

The analysis source code, add the following CSS code:

@page WordSection1
	{size:595.3pt 841.9pt;
	margin:30.0pt 30.0pt 30.0pt 30.0pt;
	mso-header-margin:42.55pt;
	mso-footer-margin:49.6pt;
	mso-paper-source:0;}
div.WordSection1
	{page:WordSection1;}

Mainly the margin, and the order of CSS has been, on the right lower left

body plus the outermost div class = WordSection1

Published 31 original articles · won praise 8 · views 20000 +

Guess you like

Origin blog.csdn.net/oZuoYu123/article/details/101774740