Facebook Comments Count Ie8 Innerhtml Error
On Internet Explorer 8, on pages where there are comments count tags like , there will be err
Solution 1:
I found out that the facebook namespace declaration have to be at the head level.
I changed from
<html><headprefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# object: http://ogp.me/ns/object#">
to
<htmlxmlns:fb="http://ogp.me/ns/fb#"><headprefix="og: http://ogp.me/ns# object: http://ogp.me/ns/object#">
and the errors disappeared.
I was following Open Graph namespace declaration: HTML with XMLNS or head prefix? but the use-prefix-all-the-way clearly has some issue with ie8.
Update
I realized that I am also at fault in using the <fb:comments-count>
tag by mistake, while I was using the HTML5 <div class="fb-comments-count">
tag in all other places.
If I leave the namespace declaration as it was, but use the correct HTML5 comments tag, then error will also disappear too.
Post a Comment for "Facebook Comments Count Ie8 Innerhtml Error"