Typeface.js: Last word not rendering in Internet Explorer
Typeface.js is my favourite way to embed custom fonts into web pages. Ideal for making attractive headlines, it’s SEO friendly, relatively lightweight, and unlike solutions such as sIFR it’s quick and easy to implement (and doesn’t require Flash). The one minor-ish flaw is that in most browsers, the user will not be able to copy text.
Whilst testing an implementation of Typeface.js I came across an issue in Internet Explorer. Whilst it renders perfectly - even in IE6 - it was dropping the last word in the heading. The solution is to add a call to typeface_js.renderDocument(); just before the closing </body> tag.
Demo: The problem, the fix.
One Response to “Typeface.js: Last word not rendering in Internet Explorer”
Leave a Reply
About this blog
Double Jump Media are a specialist search marketing and search engine optimization company that helps you and your customers get more from your website.
Subscribe to our RSS feed
Search
Recent posts
- Four things your landing page must have
- Get visitor feedback with Kampyle
- Counting a conversion when a link is clicked using Google Website Optimizer
- Typeface.js: Last word not rendering in Internet Explorer
- Eye-tracking and usability testing with City University London
- Is on-site search failing your business?
- 5 SEO quick wins
- How important is on-site search?
Categories
- Feedback analytics
- Google Website Optimizer
- Landing pages
- Search
- Search Engine Optimisation
- Usability
- Web development
manuel 5th January 2010
You’re my savior man!