it works fine when i have the code on a single html file and i load it
on firefox
when the same code, placed in the appropriate places in rails, is
loaded on firefox through webrick then it doesnt work.
On google chrome, safari works just fine either way

On Aug 13, 6:13 pm, Curtis Schofield <[email protected]> wrote:
> Can you try loading the font file in firefox directly?
> On Aug 12, 2011 9:12 AM, "Filippos" <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have this strange issue.
>
> > Inside the assets/stylesheets/pages.scss (pages is a controller)
> > i have set up a custom font with font-face
>
> > @font-face {
> > font-family: myfont;
> > src: url('../assets/fonts/my_font.otf');
> > }
>
> > and i call it inside an id.
>
> > The thing is that the font loads fine on safari and chrome but it
> > doesnt work on firefox at all.
>
> > When i use the exact code on an html file and load it on firefox it
> > works but when i use rails it doesnt.
> > Any clue why?
>
> > --
> > You received this message because you are subscribed to the Google Groups
>
> "Ruby on Rails: Talk" group.> To post to this group, send email to 
> [email protected].
> > To unsubscribe from this group, send email to
>
> [email protected].> For more options, visit this 
> group at
>
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to