mcheit 0 Newbie Poster

Hey all,

I am generating some Word files using a html like format: the first line is this one:

<html xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

I noticed that the reference to an external file defined as the header was a problem for Word 2003 which pop a warning message when I open my Word file; the mesaage says:

Some of the files in this Web page aren't in the expected location. Do you want to download them anyway? If you're sure the Web page is from a trusted source, click Yes.

The reference to the external file is in the css definition, such as:

@page Section1
	{size:595.3pt 841.9pt;
	margin:72.0pt 89.85pt 72.0pt 89.85pt;
	mso-header-margin:36.0pt;
	mso-footer-margin:36.0pt;
	mso-title-page:yes;
	mso-header:url("./header.html") h1;
	mso-even-footer:url("./header.html") ef1;
	mso-footer:url("./header.html") f1;
	mso-first-header:url("./header.html") fh1;
	mso-first-footer:url("./header.html") ff1;
	mso-paper-source:0;}

I would like to find a way the avoid this Warning message... Did not find anything like that on Internet

Thx for any help, Benjamin

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.