How do i use custom fonts in css...i want to use a font called Myriad. But when i do body {font-family:Myriad;} it still displays as default. If i change it to a font that is on most people's computers it works but that one wont..is there a way to have custom fonts that would work on everyone else's computer.
Sticking to web safe fonts is best, or use graphics to display artistic headers if that's what you're up to. Inserting a custom font in the body is not too wise.
Agreed is usually best sticking with web safe, however if you are sure users have it, will have to embed it. more info on font embedding:- http://msdn.microsoft.com/workshop/author/fontembed/font_embed.asp