How do I specify a font for a certain style and tell the browser to take the font from mydomain.com/font if the visitor doesn't have the font installed on his computer? For example if I am using a custom font.
I wouldn't recommend using custom fonts for pages, and if you absolutely need to (something for logos or headers), use an image for it. Or if by some chance they do have the font installed, in your CSS, use this: font-family: 'Customfont', secondary, third, fourth, sans-serif/serif; Code (markup): That gives the users browser to have more choices when picking a font, and every computer has either sans-serif of serif, so that will be the last choice if they don't have any of the above fonts.