Forums Window

IE6 Iframe shim adds extra padding to body in IE7

Subscribe to IE6 Iframe shim adds extra padding to body in IE7 2 post(s), 2 voice(s)

 
Avatar mintsauce 3 post(s)

Hi,

The IE6 Iframe shim, specifically this code:

  initialize: function(options) {
    this.setOptions(options);
    this.element = new Element('iframe', {
      style: 'position:absolute;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=1);',
      src: 'javascript:false;',
      frameborder: 0
    });
    $(this.options.parent || document.body).insert(this.element);
  },

Seems to add and extra 10% of padding to the bottom and right of my pages in IE7. Disabling the above removes the padding, but obviously breaks the window in IE6.

 
Avatar kawanokami 2 post(s)

Hi, same problem here. Has anybody found a solution yet?
Thanks very much for any hal given and for all the effort!

Forums Window