To insert a reference to a file regarding the directory structure, do the following.
You have to add a reference to a CSS file style.css stored in the folder C:\MyWeb\HTML to all your HTML pages, stored in different folders starting from C:\MyWeb\HTML.
C:\MyWeb\HTML*.htm*\<HEAD\>
\0\r\n<LINK REL=stylesheet
href=\"\ph:"c:\\myweb\\html\\style.css"\" TYPE="text/css">
where
\0 is the found text (<HEAD>);
\Ph:"C:\\MyW..." executes the path resolve operator,
telling to use the HTML mode (h letter)
This will insert the following text in HTML files in, say, C:\MyWeb\HTML\Catalog:
<LINK REL=stylesheet href="../style.css" TYPE="text/css">
and the following text in HTML files in C:\MyWeb\HTML\Catalog\dir1\dir2:
<LINK REL=stylesheet href=&../style.css" TYPE="text/css">
Note!
Root parts of path names of both a referenced and processed file must be the same. It means that they must have a common drive letter.
| © 2002-2006 | This help file was built with |