Jump to content

div overlay


optikalefx

Recommended Posts

i created a div overlay over the entire screen

 

<div style="width:100%;height:100%;position:absolute;top:0;left:0;background-color:black;z-index:999999"></div>

 

but when i put an opacity on it, say opacity:0.8;  it doesnt work with embeds.  as in, the embeds (like flash) are still on top of the div.  even though when there is no opacity its covered.  why would opacity not work on embeds?  Only in firefox that is.  it works in safari.  i tried all 3 types of opacity the filter="alpha(opacity thing and moz-opacity, any ideas?

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.