Whatever this module outputs into $closure, e.g >div class="FB_HiddenContainer" />, causes a huge horizontal scrollbar (like 10x the screen width) in IE7 and IE8. But not in FF 3.6.

It outputs some kind of hidden iframe. Perhaps a conflict with the doctype? My html/body is RTL language.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar" dir="rtl" xmlns:fb="http://www.facebook.com/2008/fbml">

Problem exists in beta9 and 6xdev.

Comments

Anonymous’s picture

Component: Code » Documentation

The solution is to wrap the $closure inside a overflow: hidden block;

    <div style="position: relative; overflow: hidden;" class="clear-block">
      <?php print $closure ?>
    </div>

Maybe this can be added to documentation. "If you are experiencing a horizontal scrollbar, wrap the $closure tag in a div with overflow:hidden."

Anonymous’s picture

I keep experiencing the extreme long horizontal scrollbar. The only solution I could find is putting this in style.css:

.html, body {
overflow-x:hidden;
}

body { 
  position: relative;
}
vectoroc’s picture

morningtime: try pls last dev release. does it fix your problem?