Jump to content

CSS Z-index with flash?


NewcastleFan

Recommended Posts

Hey Guys.

 

I'm working on a tumblr theme at current and they have what is called a audio post, which ad's a flash movie that plays a sound.

 

I'm having trouble as I've got a fixed header that the posts go under as the user scrolls the page, which works fine with youtube videos.

 

However the audio post is going ontop of my banner/logo.

 

#banner {
width:637px;
height:150px;
margin-left:10px;
background-color:#141414;
background-repeat: no-repeat;
position:fixed;
z-index:1000;
}

.logo {
margin-top:40px;
z-index:1000;
position:fixed;
}

.audio_player {
z-index:-1000;
position:static;
}

 

<span id="audio_player_11436410709">
<div class="audio_player">
<embed type="application/x-shockwave-flash" src="http://assets.tumblr.com/swf/audio_player_black.swf?audio_file=http://www.tumblr.com/audio_file/11436410709/tumblr_lt297nLjGa1r4fuce&color=FFFFFF" height="27" width="207" quality="best"></div></span>

 

The embed is dynamically generated by tumblr so there is no way I can change it from embed.

 

Has anyone else had this problem or know a solution? As Z-index seems to be getting ignored :S

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.