MJ
asked on
LOCAL Path for CSS not working
I have the following :
<link rel="stylesheet" href="=C:\Documents and Settings\mjohns\Desktop\EA Desktop\EA Desktop\res\ead.css" type="text/css" />
The css is there but the page isn't reading it? Am I missing something?????
<link rel="stylesheet" href="=C:\Documents and Settings\mjohns\Desktop\EA
The css is there but the page isn't reading it? Am I missing something?????
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It did work and I understand the URL rncoding part but why the file:///
because the href is expecting a url.
and what i posted is the url to the local css file, what you used before is a windows path, and that does not work.
and what i posted is the url to the local css file, what you used before is a windows path, and that does not work.
ASKER
Thanks... FYI... I didn't need the url encoding of the spaces!
Thanks again!
Thanks again!
"file://" is part of the url specification for an absolute url to a local file.
if you don't include either "file://" or "http://", then the url is relative.
if you don't include either "file://" or "http://", then the url is relative.
> FYI... I didn't need the url encoding of the spaces!
i know it's not required most of the times, but it's good practice to use it.
i know it's not required most of the times, but it's good practice to use it.
ASKER