Posted in General, tagged css, Firefox, html, tools & tips on Monday, May 5, 2014|
Leave a Comment »
Here's a thing I just found out. If you're working on an html document on your desktop, then Firefox, by default, won't accept the "../" instruction to go up a directory, when—and only when—dealing with embedded fonts. So this:
<link rel="stylesheet" type="text/css" href="../Common/Styles/Fonts/stylesheet.css">
… won't work, while this:
<link rel="stylesheet" type="text/css" href="Files/Common/Styles/Fonts/stylesheet.css">
It'll accept that first one gladly if the site's online, but doesn't want to know if it's stored locally.
Fortunately, the solution's easy.
Type about:config in the url bar, and click the "I'll be careful" button when it appears.
Type, or paste, security.fileuri.strict_origin_policy into the search bar.
After it's found that preference, double click it, so that the "Value" field changes to "false."
And that's it. You don't even need to restart the browser. What an odd behaviour though.
You may use these HTML tags in comments
<a href="" title=""></a> <abbr title=""></abbr>
<acronym title=""></acronym> <blockquote></blockquote> <del></del>* <strike></strike>† <em></em>* <i></i>† <strong></strong>* <b></b>†
* is generally preferred over †
Read Full Post »