Adobe® Edge Web Fonts

pelsar1

macrumors newbie
Original poster
Feb 22, 2014
4
0
i have put the javascript in the header..
I have put the font name, etc in the css

and it doesn't work. I use google fonts all of the time and they work great. Adobe has a far larger library, but I can't seem to get them to work.

i use their example, it work, replace the fonts...and..nothing

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="//use.edgefonts.net/herr-von-muellerhoff.js"></script>

h1 {
font-family: herr-von-muellerhoff, sans-serif;

}
</style>
</head>
<body>
<h1>Hello World in Source Sans Pro</h1>
</body>
</html>
 

olup

macrumors 6502
Oct 11, 2011
374
36
i have put the javascript in the header..
I have put the font name, etc in the css

and it doesn't work. I use google fonts all of the time and they work great. Adobe has a far larger library, but I can't seem to get them to work.

i use their example, it work, replace the fonts...and..nothing

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="//use.edgefonts.net/herr-von-muellerhoff.js"></script>

h1 {
font-family: herr-von-muellerhoff, sans-serif;

}
</style>
</head>
<body>
<h1>Hello World in Source Sans Pro</h1>
</body>
</html>
Call the h1 tag like so:

h1 {
font-family: "herr-von muellerhoff", sans-serif;
}
Always put the non-system fonts in parentheses,you have to do this in google fonts as well, also you need to call the js with http: in front of it. it should work then.
 

pelsar1

macrumors newbie
Original poster
Feb 22, 2014
4
0
Call the h1 tag like so:

h1 {
font-family: "herr-von muellerhoff", sans-serif;
}
Always put the non-system fonts in parentheses,you have to do this in google fonts as well, also you need to call the js with http: in front of it. it should work then.
tried that:

h1 { font-family: 'herr-von muellerhoff', sans-serif; }

and

h1 { font-family: "herr-von muellerhoff", sans-serif; }

but this is not clear;

also you need to call the js with http: in front of it. it should work then.

isn't it in front already?
 

Darth.Titan

macrumors 68030
Oct 31, 2007
2,712
307
Austin, TX
None of the responses so far will help.
Your code is fine, you just forgot the opening <style> tag.

PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script src="//use.edgefonts.net/herr-von-muellerhoff.js"></script>
<style>
h1 {
font-family: herr-von-muellerhoff, sans-serif;

}
</style>
</head>
<body>
<h1>Hello World in Source Sans Pro</h1>
</body>
</html>