Small space below swf object FF3 and Safari (Win)

22 views
Skip to first unread message

jorrit5477

unread,
Dec 9, 2008, 5:07:31 AM12/9/08
to SWFObject
Using swfobject.embedSWF for embedding an swf a small space of 3
pixels below the swf appears in FF3 and Safari (tested on IE7, Safari
and FF3 on Windows).

I can also see this space appearing using Firebug in the test case
found at http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_multiple.html
(there is a space between the <p></p> and the swfobject above it).

To remove this small space I have to wrap the flash content replaced
by the swfobject with a div, and set its height explicitly.

Is there anything I am missing to prevent this small vertical gap in
the first place?

Aran Rhee

unread,
Dec 9, 2008, 5:30:01 AM12/9/08
to swfo...@googlegroups.com
I believe having a wrapper div around the target replacement DIV and setting
explicit sizing and positioning is a good idea anyhow.

I don't think you are missing anything here in terms of whaqt you should
have done to avoid the issue.It is interesting that it appears to happen in
both static and dynamic embed methods.

Aran

Getify Solutions, Inc.

unread,
Dec 9, 2008, 9:01:12 AM12/9/08
to swfo...@googlegroups.com
See FAQ #11:
http://code.google.com/p/swfobject/wiki/faq#11._How_can_I_avoid_that_extra_whitespace_is_created_underneath

--Kyle



--------------------------------------------------
From: "Aran Rhee" <aran...@gmail.com>
Sent: Tuesday, December 09, 2008 4:30 AM
To: <swfo...@googlegroups.com>
Subject: RE: Small space below swf object FF3 and Safari (Win)

Aran Rhee

unread,
Dec 9, 2008, 5:23:34 PM12/9/08
to swfo...@googlegroups.com
(slaps head)

I should review the FAQ more often :) Thanks for the proper follow up Kyle.

A

-----Original Message-----
From: swfo...@googlegroups.com [mailto:swfo...@googlegroups.com] On
Behalf Of Getify Solutions, Inc.
Sent: Wednesday, 10 December 2008 1:01 AM
To: swfo...@googlegroups.com
Subject: Re: Small space below swf object FF3 and Safari (Win)


See FAQ #11:
http://code.google.com/p/swfobject/wiki/faq#11._How_can_I_avoid_that_extra_w

Jorrit de Vries

unread,
Dec 10, 2008, 8:28:53 AM12/10/08
to swfo...@googlegroups.com
Aha, didn't I have a look at that... silly me :S
It's not only Safari and Opera though. Might this have to do with the type of plugin (no ActiveX)?
Reply all
Reply to author
Forward
0 new messages