@font not showing correctly in FireFox 3.6.23
The fonts and css file are located in the root domain, the @font works for IE 7/8/9 but the @font does not work for FireFox 3.6.23
被采纳的解决方案
The site http://shinymanstudio.co.za/ works for me in Firefox 7 with the current code.
Do you still have a problem with that site?
Reload web page(s) and bypass the cache.
- Press and hold Shift and left-click the Reload button.
- Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
- Press "Cmd + Shift + R" (MAC)
所有回复 (7)
Why do you not upgrade your browser to Firefox 7?
I will try that, but I think it is related to a domain issue.
http://shinymanstudio.co.za/ <--- does not render the @font
http://shinymanstudio.co.za/webfontkit/ArchitectsDaughterRegular-demo.html <--- does render @font.
<link rel="stylesheet" type="text/css" href="webfonts.css" media="screen" />
The file you are looking for does not exist, press your browsers back button or return to the home page. (404 - file not found)
Firefox doesn't seem to be inheriting those style rules from the html rule in style.css, so even if that is fixed the it still may not work and you may need to add body to that rule.
Might of been trying solutions when you got that error, my apologies.
webfonts.css
@charset "UTF-8"; /* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 14, 2011 */
@font-face {
font-family: 'ArchitectsDaughterRegular'; src: url('architectsdaughter-webfont.eot'); src: url('architectsdaughter-webfont.eot?#iefix') format('embedded-opentype'), url('architectsdaughter-webfont.woff') format('woff'), url('architectsdaughter-webfont.ttf') format('truetype'), url('architectsdaughter-webfont.svg#ArchitectsDaughterRegular') format('svg'); font-weight: normal; font-style: normal;
}
^^^ Located in public_html
http://shinymanstudio.co.za/ <--- does not render the @font
http://shinymanstudio.co.za/webfontkit/ArchitectsDaughterRegular-demo.html <--- does render @font.
The problem still occurs, the public_html is my "root" folder, I could try placing the documents out side "public_html" but the hosting company did not advise this.
It works on the latest version of Chrome/Safari, IE 7/8/9.
I will try ../ later and see if this works.
Thanks for the help cor-EL.
Peace.
选择的解决方案
The site http://shinymanstudio.co.za/ works for me in Firefox 7 with the current code.
Do you still have a problem with that site?
Reload web page(s) and bypass the cache.
- Press and hold Shift and left-click the Reload button.
- Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
- Press "Cmd + Shift + R" (MAC)
Strange! Tried that before!
Thank you for your time, have a great day!
You're welcome