Problem with IE7

Skip to first unread message

Jorge Raimundo

Apr 19, 2011, 6:51:49 AM4/19/11
to swffit
Hi all!

I have a IE7 problem: I get a huge empty area on the left of the swf.

The CSS for it is:
<style type="text/css" media="screen">
            html, body    { height:100%; }
            body { margin:0; padding:0; overflow:auto; text-align:center;
                   background-color: #ffffff; }
            object { display:block; }
            #flashContent { display:none; }



Apr 19, 2011, 6:54:14 AM4/19/11
to SWFFit
And what is your js code?

Jorge Raimundo

Apr 19, 2011, 7:01:58 AM4/19/11
Here it is:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="swffit.js"></script>
<script type="text/javascript">
        <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
        var swfVersionStr = "10.1.0";
        <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
        var xiSwfUrlStr = "playerProductInstall.swf";
        var flashvars = {};
        var params = {};
        params.quality = "high";
        params.bgcolor = "#ffffff";
        params.allowscriptaccess = "sameDomain";
        params.allowfullscreen = "true";
        var attributes = {}; = "Consus"; = "Consus";
        attributes.align = "middle";
        "Consus.swf", "flashContent",
        "100%", "100%",
        swfVersionStr, xiSwfUrlStr,
        flashvars, params, attributes);
        <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
        swfobject.createCSS("#flashContent", "display:block;text-align:left;");"Consus", 1024, 640);

On Tue, Apr 19, 2011 at 11:54, lolka_bolka <> wrote:
And what is your js code?

You received this message because you are subscribed to the Google Groups "SWFFit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply all
Reply to author
0 new messages