Flash player inside a div is moving the whole page wrapper down in IE (why?)
Posted
by janoChen
on Stack Overflow
See other posts from Stack Overflow
or by janoChen
Published on 2010-05-03T04:29:41Z
Indexed on
2010/05/03
4:38 UTC
Read the original article
Hit count: 261
I placed the flash player using: position: absolute; top: 20; right: 40;
in the div around it.
css:
#page {
position: relative;
}
#flashplayer {
position: absolute;
top: 10px;
right: 30px;
}
(as you can see #page
is relative)
html:
<div id="page">
<div id="flashplayer">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="35">
<param name="movie" value="music_player/player_mini.swf" />
<param name="quality" value="high" />
<embed src="music_player/player_mini.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="35"></embed>
</object>
</div>
<div id="formfloat">
the page: http://ada.kiexpro.com/test/
© Stack Overflow or respective owner