Здрасти! Есть флешка, я хочу по верх ее выдать слой (div) и вывести текст счас есть такое: <object style="z-index:1;" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60"> <param name="movie" value="468x60_lastlogo1.swf" /> <param name="quality" value="high" /> <embed src="468x60_lastlogo1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed> </object> <div style="z-index:102;width:468px; height:60px;border:1px solid #000000;margin-top:-40px;">dsyvgdasbdfab </div> и не работает, посоветуйте что-то
HTML: <style> .myFlash { position: relative; display: inline; } .myFlash object, .myFlash embed, .myFlash div { position: absolute; top: 0; left: 0; z-index: 1; } .myFlash div { display: block; width: 466px; height: 58px; border: 1px solid black; z-index: 2; } </style> <div class="myFlash"> <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="468" height="60"> <param name="movie" value="468x60_lastlogo1.swf" /> <param name="quality" value="high" /> <embed src="468x60_lastlogo1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed> </object> <div>Sone texts, paragraphs, spans etc..</div> </div>
Silicium Если хотите применить z-index к элементу, необходимо прописать ему position: absolute или relative
sylex HTML: <object [...]> <embed [...]></embed> </object> <div style="position: relative; z-index: 1; top: -100px; width: 100px; height: 100px; background: red"></div>