SWFObject Question:
How to avoid that extra whitespace is created underneath my SWF?
Answer:
When using dynamic publishing and a strict HTML DOCTYPE Firefox, Safari and Opera may create a few pixels whitespace underneath your Flash movie.
To avoid this make sure that your object element is set as a block level element, which can be achieved with the following CSS style rule:
<style type="text/css" media="screen">
object { display:block; }
</style>
To avoid this make sure that your object element is set as a block level element, which can be achieved with the following CSS style rule:
<style type="text/css" media="screen">
object { display:block; }
</style>
Previous Question | Next Question |
How to pass URIs or HTML code as a value using flashvars? | Tell me Do SWFs embedded with SWFObject 2 display in the Sony PS3 or Nintendo Wii web browsers? |