开发者

swf file size issue in internet explorer

I have swf file, the firefox and chrome displays the swf files as per the mentioned width and height. But in Internet explorer, the sw开发者_如何学JAVAf file is too small than the other browsers.

Any idea to fix?

Thanks in advance.


In "object" if you delete attribute "class" then you'll have normal size in IE,opera,ff. In Chrome will be smaller.


In IE8, the common fix was to set up IE7 emulation with a meta-data tag:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Not sure if that will fix your issue or not.


Although I don't know which method you are using to embed your swf file into your html page, I would advise you to use SWFObject

It is an open source javascript class that handles this kind of browser quirks for you.

Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜