Differences
This shows you the differences between two versions of the page.
| css_font_embedding [28.12.2011 12:33] – created Pascal Suter | css_font_embedding [28.12.2011 12:34] (current) – Pascal Suter | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| upload both ttf and eot files to your webserver and embed it with the folowing lines in your css stylesheet: | upload both ttf and eot files to your webserver and embed it with the folowing lines in your css stylesheet: | ||
| < | < | ||
| - | @font-face { | + | @font-face { |
| - | | + | font-family: |
| - | | + | src: url( / |
| - | | + | src: local(" |
| - | } | + | } |
| - | /* THEN use like you would any other font */ | + | /* THEN use like you would any other font */ |
| - | .yourFontName { font-family:" | + | .yourFontName { |
| - | } | + | |
| + | } | ||
| </ | </ | ||