MLUG: RE: [MLUG] universal definition for drive root in html??
RE: [MLUG] universal definition for drive root in html??
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Mon, 30 Apr 2007, Davis, Jared Scott wrote:

Try just
<link rel="stylesheet" href="/css/x.css" type="text/css" media="all" />
which should reference the root folder - in this case (I think), whatever drive it's on.

Sadly it does not work. Neither does "file:////css/x.css" with any number of slashes (I'm not quite getting the slashes in the "file:" method.)



The <base> tag inside the <head> does the same thing.
e.g., if my css folder is http://www.blah.com/css/x.css I would do
<base href="http://www.blah.com";>
<link rel="stylesheet" href="css/x.css" type="text/css" media="all" />

The problem is to apply that to local files without a web server.

I did happen across this page:

http://help.adobe.com/en_US/InDesign/5.0/help.html?content=WSa285fff53dea4f8617383751001ea8cb3f-6cd7.html

which showed me the use of "file:css/x.css" and also "file:../../css/x.css" and that second solution is working very well for my application, but putting it in root would still be better.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members