Implementing CSS @font-face from start to finish?

1 Answer

Answer :

The files you’re looking for are the EOT and OTF/TTF (interchangeable here) files. The other src values are saying “if they already have this font then sweet, just use that.” IE requires EOT files while the rest use OTF/TTF. Microsoft provides software for converting OTF into EOT here: http://www.microsoft.com/typography/web/embedding/weft3/download.aspx

Related questions

Description : Web design (CSS) question: how can I make something like this?

Last Answer : Looks like it’s based on Cargo Collective’s Montessori template and using their tools. They’ve modified it some to use some more concepts from brutalism, but it looks like all the main functionality would be there if you wanted to do the same.

Description : What's the best way to redesign and test a website's CSS that you don't control?

Last Answer : Turn your own machine into a webserver. http://www.apachefriends.org/en/xampp.html

Description : When designing under css, what techniques do you guys use to test across different browsers?

Last Answer : I kinda open it in different browsers.

Description : Who is the CSS Guy?

Last Answer : I am.

Description : Does the tag 'vertical-align' actually work in CSS?

Last Answer : answer:This might help. Sorry, it isn’t in English but it shouldn’t be hard to understand. http://css-happylife.com/template/centering/

Description : What are some great CSS sites?

Last Answer : answer:Stu Nicholls really experiments with CSS. Eric Meyer does a lot of interesting things as well. A List Apart has excellent, industry-changing articles.

Description : How can I hide HTML elements using just CSS?

Last Answer : visibility: hidden; opacity: 0;

Description : Does modern CSS allow for server-side font embedding?

Last Answer : answer:Depends on your definition of modern. Here's the code: [at]font-face { font-family: My Font ; src: url(myfont.ttf); } .header { font-family: Ace Crikey ; } However, it is ... does not validate under CSS 2.1. EDIT: This page looks like it offers some solutions to the compatibility problem.

Description : Anyone know of good sites for understanding IE CSS issues?

Last Answer : Try this one: IE’s Top 10 CSS Problems

Description : JQuery: wait for other event to finish?

Last Answer : JQuery uses callbacks as an argument to nearly every animation function.. It works by passing a reference to the function you wish to call in the same manner you are passing a new function with the a.click ... #photoViewer').fadeIn(250); }); // close fadeOut() callback }); // close click() callback

Description : How much does it take to start a dating website? Similar functionality to today's dating web sites. Who can create this for me?

Last Answer : Too much to make it worth it. A dating site is only as good as the people you can find on it. Unless you’re going for a super specific niche that doesn’t already use another site this isn’t something you should do because it’s a good idea in your mind.

Description : I would like to learn how to design websites. Where do I start?

Last Answer : In seven years things have changed and awful lot. Your best bet is to start with learning XHTML and CSS. Semantic HTML and the separation of markup and presentation are very important topics ... complicated tasks, and are more difficult to get into without a gerat foundation in computer programming.

Description : What is the best way to start learning web design?

Last Answer : Pay attention to websites you like and try to identify what’s so great about them. I know ask-public has a great website design.

Description : How can i start my own website?

Last Answer : Take two sticks. Rub them together. Then hire a web site builder. It’s worth every penny.

Description : Why does ask-public have Users login with their published user names?

Last Answer : answer:Honestly, there's probably no other reason than because that was the standard at the time. In 2006 (which is when the site launched), basically every website used a username to login. Even now, the vast ... such a ubiquitous login item? (I'm no web designer either, so I can't say for sure.)

Description : What do I need to do to adapt my Web site to mobile devices?

Last Answer : answer:(Link is broken. But it appears to be: mathed.org.) You could either try to use a mobile framework like bootstrap and do this yourself, or you could move all the content into a simple Wordpress site with a responsive theme/template.

Description : From where I can buy web hosting in cheap rate?

Last Answer : answer:Dreamhost.com and Bluehost.com get great reviews for Linux hosting. I needed inexpensive Windows hosting recently and I signed up for SmarterASP.net.

Description : Is there a wordpress plugin that would allow me to put random quotes on my website (like ask-public has?)

Last Answer : answer:I don’t believe the ask-public quotes are random, in the sense they are auto generated. They are manually generated, but randomly displayed. Similar to what a wordpress random quote widget might provide.

Description : Optimizing a Jquerymobile build for my needs?

Last Answer : answer:I'm sure you saw it, but just in case. Please note that the jQuery Mobile Download Builder is still in alpha, and as such should not be used on production websites. But, let's see if we ... build than you want that works, then weed out the unneeded sections one at a time. Until it breaks.

Description : WYSIWYG maker for making expandable blocks (show/ hide toggle blocks)?

Last Answer : Wow. I have no idea, but should identify WYSIWYG as What You See Is What You Get for those who couldn’t figure it out.

Description : To what degree are the problems with the Obamacare website due to sabotage?

Last Answer : Possibly, but a question for any IT folks out there is, wouldn’t the site have been thoroughly beta tested or am I being naive?

Description : How would I add a page-by-page language "switcher" on a website, and should I - details...?

Last Answer : answer:I've not done it before, but it should be fairly easy if you have properly separated your content from your presentation. The nicer-looking way to do it would be to use an XMLHttpRequest in ... but it gives you the ability to do lots of things you can't do effectively in plain HTML.

Description : What would take priority on my website?

Last Answer : I think, for design, the portfolio is more important.

Description : How can I get a color scheme with lots of colors?

Last Answer : I doubt that you can get 20 colors that are going to look distinct enough from one another to be obviously different (especially if they are filling small areas) in the eyes of the average viewer. You may have to use texture differences as well.

Description : Could you give me feedback on a website?

Last Answer : answer:Rather than comment on the site's concept, I'll give you some minor things I noticed: - Some of the quotes have sources. Others don't. I would make the source a requirement. - I had a ... to my avatar. I'm assuming this means that I can follow myself. Anyway, those are some initial thoughts.

Description : Building a site in "Google Sites?"?

Last Answer : Ouch. I thought Google had abandoned this back in 2008. It actually does look abandoned. But you don't need me to come in here and tell you to use Wordpress because you've already told us not to. ... one of those times you either convince the client that it is a bad idea, or walk away. Sorry.

Description : Why do some websites automatically reload soon as they open?

Last Answer : I don’t see either of those sites reload when I use Firefox or Chrome.

Description : Know any websites that serve the same content successfully on big desktop monitors and on hand-held devices?

Last Answer : answer:None spring to mind, but I’m curious if others have encountered such sites. It’s an interesting concept, and you could probably make a mint if you build such a service! We’re an OSX/iOS household, if you need beta testers.

Description : Why do websites always want you to take a survey or give them feedback?

Last Answer : To get your email address.

Description : What are the requirements for supporting millions of users on your website?

Last Answer : Supporting in what? Can you maybe add some detail?

Description : What is a flowchart?

Last Answer : Here is a complete tutorial on flow charts.

Description : Why can't I get favicon.ico to show up as my website tab and bookmark icon?

Last Answer : answer:Excuse me for only reading the last sentence of your detailed question, but they are the black and white things which, after you pressed them, will make that a variety of sounds will ... to the correct position on your computer like C/poison/images/website instead of C/poison/music/website?

Description : A free image hosting service that won't re-size or lower the quality of my images?

Last Answer : answer:Google's Picasaweb https://picasaweb.google.com/home As well as allowing full-scale uploads, it will do on-the-fly resizing for you. For example, I uploaded this photo once, but ... . Conversely, if you move things around on your drive, Picasa automatically and instantly reflects the changes.

Description : How would you form an if statement in a jQuery function, then call that function using a .click() handler?

Last Answer : Can you show us what your current code looks like? Perhaps you could paste it to http://jsfiddle.net/ or https://gist.github.com/ and give us a link? It’s easier answer if we’re referencing the same things.

Description : What resource or service would you like to be able to find online for free?

Last Answer : answer:A real certified IQ test, made by, like, Stephen Hawking or something. A website akin to Wikileaks for disgraced politicians, where we get to see exclusives on their latest illegalities and such A site ... people I think. Or maybe they have something like this already, that I don't know of.

Description : Are there alternatives to multi-line comment boxes in a contact form?

Last Answer : Wow is that the wrong way to go about solving your problem. The correct answer is not to restrict what a user wants to tell you, but to ensure that your site is secure. If you don't already have an ... you aren't using HTTPS, start using it. If you aren't encrypting the transmission of data, do so.

Description : What are the most common age groupings on sign-up forms?

Last Answer : answer:Under 16 16–18 18–21 21–35 35–50 50–75 Over 75 Although I have to admit I picked these numbers at random.

Description : Why do websites constantly redesign their site?

Last Answer : answer:In response to some anonymous feedback? They do this with the website for the organisation I work for. Drives me doolally. Just get used to where everything is and Bam.. new site and things have ... have to guess they haven't got it right yet. Keeps web design people in work too I guess.

Description : Is there somewhere I can download the iPhone map location gif?

Last Answer : Even if you do find one you’ll get your ass sued right off you. Don’t try to copy other peoples materials.

Description : What is it about certain websites that prevents you from using the Back button?

Last Answer : I expect that they want to hold you there long enough to be malicious.

Description : Whats a good prototyping tool for designing Web Layouts?

Last Answer : answer:Huh? Why not just produce photoshop templates? Proof in PDF. Ask ETPro… he knows more than I.

Description : Best Open Source Web Software for a small book club?

Last Answer : answer:It's not exactly lightweight, but Drupal can certainly handle all those things and much more. I usually recommend Drupal for things like this because it has a good combination of user-friendliness ... or Rails. Cue framework fanatics flaming for daring to compare their babies to a mere CMS.

Description : What is the proper name for "notification bars" in web design?

Last Answer : answer:Are you talking about a comfirmation pop-up message? Generally, when you're doing your use cases for a site, you would document the happy path actions of the user first, and account ... flow. Create the use case from that, and write your error messages or confirmation messaging from that.

Description : Can I build a store-locator page in Dreamweaver CS 5?

Last Answer : answer:Are you looking to take someones zip code and tell them where the closest store is? That is going to tricky to do well. Would using Google Maps to plot the store locations be enough? That is about 100 times easier.

Description : Can an Adsense ad unit move on a page?

Last Answer : Yes, but without specific details, I can’t give a more specific answer.

Description : How to make a website like youtube?

Last Answer : Money. And, lots of it.

Description : What can I do to make my site better?

Last Answer : answer:This is just a look at the design and there are some points where you could improve: Your menus are really nice, the social networking integration is well done too. I like the layout of the ... , good layout etc. most of my points are just nit-picking and tweaks/ error debugging. Good luck!

Description : What's a good, free and classy, site for hosting a single page site?

Last Answer : Google Sites might meet your requirements, although I don’t like it myself. But it is easy and simple enough.

Description : Can you give me advice on finding someone to make my website?

Last Answer : answer:I may be interested, Between me and my partner we can do quite a lot of things, from HTML and CSS to flash and PHP. It depends on the project too, we have our own things that we work ... only pay after work is completed. Some people will want a deposit, but never pay for work until its done.

Description : How to make a website like youtube?

Last Answer : Money. And, lots of it.