Netnoobie
Well-known member
Hello all. my question may be weird, but here goes....
I am creating a Word doc with HTML. The issue came up that headers and footers are needed. Is there a way to create them without an external file (header.htm)? The Word HTML looks like:
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-even-header:url("Doc1_files/header.htm") eh1;
mso-header:url("Doc1_files/header.htm") h1;
mso-even-footer:url("Doc1_files/header.htm") ef1;
mso-footer:url("Doc1_files/header.htm") f1;
mso-first-header:url("Doc1_files/header.htm") fh1;
mso-first-footer:url("Doc1_files/header.htm") ff1;
mso-paper-source:0;}
What I need to do is just insert the HTML into the file, and HOPE that when converted to a doc file and opened in Word that it will work properly like a header and footer. Is this even possible?
Many thanks if anyone can steer me in the right direction.
Bryan
I am creating a Word doc with HTML. The issue came up that headers and footers are needed. Is there a way to create them without an external file (header.htm)? The Word HTML looks like:
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-even-header:url("Doc1_files/header.htm") eh1;
mso-header:url("Doc1_files/header.htm") h1;
mso-even-footer:url("Doc1_files/header.htm") ef1;
mso-footer:url("Doc1_files/header.htm") f1;
mso-first-header:url("Doc1_files/header.htm") fh1;
mso-first-footer:url("Doc1_files/header.htm") ff1;
mso-paper-source:0;}
What I need to do is just insert the HTML into the file, and HOPE that when converted to a doc file and opened in Word that it will work properly like a header and footer. Is this even possible?
Many thanks if anyone can steer me in the right direction.
Bryan