Forum Moderators: not2easy

Message Too Old, No Replies

Strange positioning with embed tag

embed movie css problem

         

BenSeb

7:28 pm on Feb 26, 2007 (gmt 0)

10+ Year Member



Hi

I've just come across a problem that i hope someone else has encountered.

Basically, I have a page at <url removed>

If I add the following code, everything displays fine :

<DIV style='border:1px solid red' >
<div style='margin:40px'>

<embed width="425" height="350" wmode="transparent" type="application/x-shockwave-flash" src="http://www.example.com/v/MabcdLECtGc"></embed>

</div>
</div>

but the following code shows the movie outside the div (see the param tags added.) Unfortunately this is the code supplied by a lot of 'myspace widget' sites, so i have to try and make my site work with it! It does work if you wrap an <object> tag around it, but again the code supplied on these sites doesnt come with this!

<DIV style='border:1px solid red' >
<div style='margin:40px'>
<param value="http://www.example.com/v/MxzovLECtGc" name="movie" />
<param value="transparent" name="wmode" />
<embed width="425" height="350" wmode="transparent" type="application/x-shockwave-flash" src="http://www.example.com/v/MxzovLECtGc"></embed><BR CLEAR='ALL' />&nbsp;

</div>
</div>

any wise words?

[edited by: SuzyUK at 5:55 pm (utc) on Feb. 27, 2007]
[edit reason] no links to personal sites please, see forum charter [/edit]

BenSeb

7:30 pm on Feb 26, 2007 (gmt 0)

10+ Year Member



ps the above problem is in firefox, ie is fine