| | |||||
| ||||||||
| Website Development Development concepts, scripts, sponsors and affiliate programs. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Web fonts I noticed today that the latest Opera (well, 10 beta), Firefox, and Safari all support the @font-face CSS3 construct. As Safari supports it, so too will all Webkit browsers soon enough (if they don't already). Naturally, IE is a pain and doesn't*. So, who else is excited for this? I fiddled around with my website and, after a bit of trial and error, got it working. Users now see my website in the fonts I chose, regardless of whether they have them installed or not. It's wonderful. * But I don't care about IE any more. Until IE8 it actually offered to download my personal website rather than display it. |
| | |
| | #2 (permalink) |
| NamePros Regular Join Date: Jan 2009
Posts: 699
![]() ![]() ![]() ![]() ![]() ![]() | this is really great! could you share the code and the steps you need to do for this to the newbie web developers?
__________________ Domain Name Auctions |
| | |
| | THREAD STARTER #3 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | To define a web font: Code: @font-face{
font-family: Name;
src: url(/path/to/file);
} Code: @font-face {
font-family: "Body Text";
src: url(/fonts/TrebuchetMS.ttf);
}
body
{
font-family: Trebuchet MS, "Body Text";
font-size: 13px;
} |
| | |
| | #4 (permalink) | ||||
| NamePros Regular Join Date: Jan 2009
Posts: 699
![]() ![]() ![]() ![]() ![]() ![]() |
__________________ Domain Name Auctions | ||||
| | |