SWFObject Question:

Download Job Interview Questions and Answers PDF

How to avoid that extra whitespace is created underneath my SWF?

SWFObject Interview Question
SWFObject Interview Question

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>

Download SWFObject Interview Questions And Answers PDF

Previous QuestionNext 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?