Hi, I am just getting back to this.... @font-face works with IE browsers work on my local machine if I use 'localhost' in the address, however, if I use the computers' IP address or if I display on the testing servers @font-face no longer works with IE...
Does anyone know why this would be so? Thanks in advance, Nancy On Thu, May 5, 2011 at 8:24 PM, Philippe Wittenbergh <e...@l-c-n.com> wrote: > > On May 6, 2011, at 2:39 AM, Nancy Johnson wrote: > >> We are using @font-face... > > A URL would be useful to help debugging… > >> >> The font we are using is an open source font from Google >> http://www.google.com/webfonts/family?family=Nobile#set >> I don't know how it was converted to .eot, .woff or .svg as these came >> to us already converted. >> >> This is the code that is used, the path is correct >> >> @font-face {font-family: 'Nobile'; >> src: >> url('font/nobile/nobile-webfont.eot'); >> src: >> url('font/nobile/nobile-webfont.eot?#iefix') format('embedded-opentype'), >> url('font/nobile/nobile-webfont.woff') format('woff'), >> url('font/nobile/nobile-webfont.ttf') format('truetype'), >> url('font/nobile/nobile-webfont.svg#NobileRegular') format('svg'); >> font-weight: normal;font-style: normal;} > > You don't need the first line >> src: >> url('font/nobile/nobile-webfont.eot'); > > http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax > > >> Tried already: >> src: local: instead > > src: local(local-name-of-font-here) only works when the font is installed on > the machine (and IE < 9 doesn't understand it anyway). > > >> on this line I tried changing this >> url('font/nobile/nobile-webfont.eot?#iefix') format('embedded-opentype'), >> to >> url('font/nobile/nobile-webfont.eot?iefix') format('eot'), >> >> also using an absolute path to the font instead of relative path. > > So what is the problem, and what version(s) of IE are affected ? > (and if your site is on a IIS server, you may need to add a mime type for the > woff file, according to the article linked above). > > Philippe > -- > Philippe Wittenbergh > http://l-c-n.com/ > > > > > > > ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/