make a mock-up of the file in MS Word. Save it as a Web Page
(NOT Web
Page, Filtered, if you a given that option). Open the saved
file in an
html editor and check all the (rediculous) code MS Word puts
in there.
If you had headers/footers, you will notice they are saved as
a separate
.htm file called header.htm in a folder called [your word doc
name]_files. open that one in an html editor, too, and check
the code.
you will basically have to output your html formatted like
that so that
when you save the file with a .doc extension MS Word will
pick us your
content and headers/footers.
Note: when file is opened, MS Word will ask if you want to
convert it
from HTML format, even if the file has a .doc extension.
i have never actually tried this with Word, but it works with
Excel...
--
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com