SWFObject and positioning

How can I place a flash element embedded with SWFObject, please? Moving the DIV container around with absolute positioning both above and below does not work.

Thanks.

+6
html position swfobject
source share
2 answers

@Francisc: Try it -

<div id="container-div-with-the-positioning-rules"> <div id="flash-to-be-replaced"> Your alternate content if the user doesn't have Flash installed </div> </div> 

Please note: this may not be the most elegant solution, as it adds an extra <div> , but before it was before, this was basically what I decided. This may give you something to build on, or perhaps some of the other participants here will have better solutions.

+9
source share

I would vote or comment on stealthyninja's answer, but I can not, because I do not have enough reputation. But yes, you need to add another div around the "flash-to-be-replace" div, because SWFObject changes that div to an object tag or something else that CSS cannot do anything.

+5
source share

All Articles