Cufon Errors in IE8 & IE9 – Cleared!


I was asked today why some text was not showing up in IE. So I did a little research and found awesome solutions to cufon text not appearing in both IE8 & IE9!

 

For IE8, it’s very simple. Add the little snippet of code below just before any tracking tags and the closing body tag.
<script type=”text/javascript”> Cufon.now(); </script>

 

For IE9, you have a choice of one of the following 2 options. The option you chose needs to be added to the head section of your website or web page.

Option 1:
<meta content="IE=8" http-equiv="X-UA-Compatible" />

Option 2:
<!--[if gte IE 9]> <script type="text/javascript"> Cufon.set('engine', 'canvas'); </script> <![endif]-->

 

That’s it! Problem solved! Happy coding!

Leave a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>