Facebook like box problem with IE

Make the facebook like box working with IE

About this article: Posted in: Learned along the way
By: Blockcoder ( Admin ) / 18.09.2012
Stats: no comments / Views: 445
Tags: , ,

торрент форекс журнал forex magazine

Like box problem with IE

I added the facebook like box to one of my client’s sites and after a couple of hours they called me that it didn’t work with IE – (oh *hit) — why didn’t I saw that coming? How much pain can one browser cause? Okay, I made some effort to conquer this problem.


How to make the like box working?

You need iframe or XFBML to get the like box to appear on your site. IE just doesn’t want to cope with those — without a little magical html -attribute. In order to get everything working is to put the following line within your site’s html tags: “xmlns:fb=”http://www.facebook.com/2008/fbml”“.

This should solve the problem:

<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi-fi" lang="fi-fi" dir="ltr" >

Thank you for reading!


Leave a Reply

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

*

9,788 Spam Comments Blocked so far by Spam Free Wordpress

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>