z-index

Jquery - dim entire page and fade up one div element

▼魔方 西西 提交于 2020-01-01 04:37:11
问题 Im trying to do the following: - a Link is clicked triggering a function that will .show a DIV (#page-cover) dimming down my entire background. This div has a z-index of 999 - Then I want another div (#red) to appear upon the dimmed background / fadeup/show with a higher z-index My CSS: #page-cover { display: none; position: fixed; width: 100%; height: 100%; background-color: #000; z-index: 999; top: 0; left: 0; } #red { background-color: red; width: 100px; height: 100px; } HTML //Triggering

border-image over an image

浪尽此生 提交于 2019-12-31 05:05:32
问题 I want to have a border image over an image. The border-image isn´t straight so the overlays should lie over the image and not behind. I tried this with z-index, but doesn´t work. The border doesn´t lie over my image. Here is the fiddle. I have tried it with this this code: .sprocket-mosaic-image-container { position: absolute; border-style:solid; border-width: 60px 28px 87px 24px; -moz-border-image: url(http://i.imgur.com/qfJxhX2.png) 60 28 87 24 repeat; -webkit-border-image: url(http://i

Order of z-index elements on bxslider

梦想的初衷 提交于 2019-12-31 03:46:09
问题 I need to order the contents of a bxslider with a no-child element. between the image and the text over the top. e.g <div> <ul id="slider"> <li><img src="image1.jpg" /><span>text</span></li> </ul> <div class="under-text-over-image"></div> </div> Could anyone advise on the z-index? my existing css is similar to: li img{ position:relative; z-index:1; } li span{ position:relative; z-index:3; } .under-text-over-image{ position:relative; z-index:2; } Thanks 回答1: I would try something along the

Unable to click textbox with negative z-index

て烟熏妆下的殇ゞ 提交于 2019-12-31 00:57:29
问题 I have a textbox in the middle of the screen, but when I click on it, no clicks are registered. I think it's a CSS Z-Index issue. How do I go about diagnosing and fixing this issue? JsFiddle div#container { z-index:-1; position:relative; height:300px; width:300px; margin:0 auto; background-color: #E9E9E9; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25); padding-top: 8px; } h2 { text-align:center; } #container input[type="submit"] { position:absolute; bottom:0; left:0; height:50px; width:100%; }

Z-index in jQuery dialog. Autosuggest list not displayed properly

时间秒杀一切 提交于 2019-12-30 11:00:19
问题 I have a problem displaying the autosuggest box inside a jQuery dialog. The auto suggest list is displayed under the dialog no matter what. I have tried setting up the z-index property of autosuggest to > 1004. But no luck. Below is the screenshot. This is the CSS class I have used to style the autosuggest list: ul.as-list { position: absolute; list-style-type: none; margin: 2px 0 0 0; padding: 0; font-size: 14px; color: #000; font-family: "Lucida Grande", arial, sans-serif; background-color:

Surface view z-index changing after OnResume/OnPause Android

橙三吉。 提交于 2019-12-30 10:45:09
问题 I have a doubt regarding z-index on Android views. I have an activity with a GLSurfaceView and another SurfaceView for video playback. I've read on the internet that multiple surface views are not made to be placed on the same layout, but these posts are kind of old and I don't know if this is still true. Anyway, i have problem with the order of the views. I want the VideoView to be behind the GLSurfaceView. It works when the apps starts because I call the method setZOrderOnTop(false) on the

Descend z-index logically

喜你入骨 提交于 2019-12-29 09:21:54
问题 <div id="crumbs"> <a href="#" style="z-index: 4;">Workplace Standards</a> > <a href="#" style="z-index: 3;">Resources</a> > <a href="#" style="z-index: 2;">Guides</a> > <a href="#" style="z-index: 1;">Public holidays</a> </div> I have a simple breadcrumb nav, can JQuery assign a descending z-index to each link in the div like the code above? Currently prints the links with no z-index so they look bad. How I want it to look: How it currently looks: CSS The only real key players in the CSS are

Descend z-index logically

不问归期 提交于 2019-12-29 09:21:47
问题 <div id="crumbs"> <a href="#" style="z-index: 4;">Workplace Standards</a> > <a href="#" style="z-index: 3;">Resources</a> > <a href="#" style="z-index: 2;">Guides</a> > <a href="#" style="z-index: 1;">Public holidays</a> </div> I have a simple breadcrumb nav, can JQuery assign a descending z-index to each link in the div like the code above? Currently prints the links with no z-index so they look bad. How I want it to look: How it currently looks: CSS The only real key players in the CSS are

Z-index Won't Work

一个人想着一个人 提交于 2019-12-29 01:44:07
问题 Possible Duplicate: Css z-index problem I have an issue where one image is infront of another and z-index doesnt seem to change it. I am trying to make it so the logo is on top of the gray bars image. http://jsfiddle.net/vzPUw/ Can anyone explain to me why this is not working? 回答1: z-index only works with position : relative/absolute/fixed so give position:relative to your logo . http://jsfiddle.net/vzPUw/1/ Updated http://jsfiddle.net/vzPUw/3/ In this, I changed in the markup because we

Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?

戏子无情 提交于 2019-12-28 18:05:01
问题 I am working on a site with two absolutely positioned divs... the logo and the menu (navbar) IE is burying them both, even after multiple tries of z-index manipulation. Why can't IE work as well as Firefox or even Opera for God's sake? UPDATE....... I forgot to mention that these divs are positioned over a flash movie. How could I possibly have left that out?! 回答1: If your flash movie is burying your other content you may have luck by adding an additional param element to your embedded object