• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Div layouts not working...ideas?

icklejez

Member
I am trying to display a .gif image ontop of a flash object in a web page using div's...

I place the swf object in a div using the z-index at 0

Then the .gif ontop in another div with it at z-index 1...

I can get a flash object ontop of a flash object but not an image file... heres the code -

any ideas?

 
sorry that code isnt very readable...its giving me fuss about formatting it, this should be more readable:

<div style="position:absolute; left:18%; z-index:0;">
<object classid="00" codebase="http://download.macromedia.com/pub/... width="800" height="600">
<param name="movie" value="myspace.swf" />
<param name="quality" value="high" />
<embed src="myspace.swf" quality="high" pluginspage="http://www.macromedia.com/go/getfla... type="application/x-shock... width="800" height="600"></embed>
</object>
</div>

<div style="position:absolute; left:18%; top:100px; z-index:1;">
<a href="http://www.google.com"><img src="google.gif" width="150" height="75" border="0" /></a>
</div>
 
there's a short thread about this here

apparently if you add this line:

mymovie.addParam("wmode", "opaque");
or maybe "transparent" it would work.

not sure, some other guy said that it's a browser issue that makes flash always be on top. either way i'm not sure what the solution is but i'd stay away from overlapping images and flash myself. and i don't like absolute DIVs either 😛

check out the thread it might help you out!
gl!
 
try different z-index values, 50 and 1 perhaps?

or try position:relative on the top most element.

also, try <param name="wmode" value="transparent" /> on the bottom most element if its flash.
 
Back
Top