Values of several attributes SRC and HREF can have identical part (for example, name of site, or path to directory), but it's impossible to specify value of this part in css-file (and in STYLE-element) as because SRC and HREF are not properies, as because css-file (and STYLE-element) can define only _whole_ value instead of part of value. I offer to enter _substitutions_ like the following ($site$, $path$, $location$, $site_and_path$ are substitutions). Because SRC and HREF are attributes, i suggest to use not css-file or STYLE-element, but to use sbs-file or SBS-element <html> <head> </head> <sbs> site: site.net; path: folder1/folder2; location: dirA/dirB/dirC/dirD/dirE; site_and_path: site.com/dir1/dir2/dir3; </sbs> <body> <link href="$site$/$path$/filename.txt"> <img src= "/$location$/filename.jpg"> <a href="$site_and_path$/filename.htm"> </body> </html> <html> <head> <link src=./filename.txt type="text/sbs" rel="substitution"> </head> <body> <link href="$site$/$path$/filename.txt"> <img src= "/$location$/filename.jpg"> <a href="$site_and_path$/filename.htm"> </body> </html> Dmitry Turin http://html6.by.ru http://sql4.by.ru http://computer2.by.ruReceived on Friday, 18 May 2007 12:54:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:39:50 GMT