css - Opera doesn't display outside fonts -
Next problem - Opera does not display fonts next code:
@ font -face {font-family: "Ubuntu-Italic"; Src: url ('../fonts/Ubuntu-Ieot'), src: url ('../fonts/Ubuntu-IiT? #iefix') format ('OpenTaype'), src: url ('../fonts /Ubuntu-I.woff ') format (' woff '), src: url (' ../fonts/Ubuntu- I.otf ') format (' opentyp '), src: url (' .. / fonts / Ubuntu -I.ttf ') format (' truetype '), src: url format (' ../fonts/Ubuntu-isvg ') (' SVG '); Font weight: normal; Font style: normal; } It seems that all ok - double quote, "woff" format ... but it does not work for opera.
The attribute source requires a list of URLs.
or use multiple source definitions.
You've mixed it. This is not valid CSS.
Your code:
src: url ('../fonts / Ubuntu-ieot'), src: url ('. (' Woff '), src: Url ('/' / 'fonts / ubuntu-ieot?') Format ('opentyp'), src: url format ('../fonts/Ubuntu- I.woff') ('../fonts/Ubuntu -I.otf ') format (' opentype '), src: url format (' truetype '), src: url (' ../fonts/Ubuntu -I .svg ') format (' SVG '); should be:
src: url (' ../fonts/Ubuntu-It ') , Url format ('../fonts / Ubuntu-Ieot? #iefix'), format ('opetape'), url ('../fonts/Ubuntu- I.woff') format ('woff'), url ('. ./fonts / Ubuntu-I .otf ') format (' opentype '), url (' ../fonts/Ubuntu- I.ttf ') format (' true ' ZIP '), url (' ../fonts/Ubuntu-isvg ') format (' svg '); and the right kind of mime-type is sent for different types ?
Comments
Post a Comment