css print mode: display header and footer only on first page of a generated word doc
问题 I'm successfully generating word documents using html code with header and footer styled in css print mode, here is my code : <html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'> <head><title>Mon document</title> <meta charset=\"UTF-8\" /> <!--[if gte mso 9]> <xml><w:WordDocument><w:View>Print</w:View><w:Zoom>100</w:Zoom><w:DoNotOptimizeForBrowser/></w:WordDocument></xml> <![endif]--> <link rel=File