Forum Moderators: not2easy
The code below works great:
<LINK href="Report.css" type="text/css" rel=stylesheet>
But if I use:
<LINK href="C:\Main\Report.css" type="text/css" rel=stylesheet>
FireFox seems not to find the file.
It works well on IE.
Could anyone help me please?
Thanks
Andrea
<LINK href="C:\Main\Report.css" type="text/css" rel=stylesheet>
The red part is your problem. You are specifying a Windows-centric file path. This will not only screw up your CSS links, but any other links.
You need to specify paths in POSIX format, as if it were a UNIX system.
I usually use relative paths (
<LINK href="Main/Report.css" type="text/css" rel=stylesheet> or <LINK href="../Main/Report.css" type="text/css" rel=stylesheet> Also, you should get in the habit of using XHTML-valid element names (<link, as opposed to <LINK). You should also wrap "stylesheet" in quotes.