z-index

Does an alternative exist to the z-index bug in Internet Explorer 7?

萝らか妹 提交于 2019-12-12 02:47:45
问题 It doesn't matter how high I set the z-index, or if I set position:relative; to the parent div, or if I set a higher z-index to parent div or any tweak I found in Google. My tooltip will not be visible in Internet Explorer 7, Is there any other property I could use to simulate z-index positioning? 回答1: How is the tooltip being positioned? Try adding position:absolute; z-index:999 to your tooltip div and position:relative to the parent to see how it reacts. It would be really helpful if you

ckeditor z-index on textarea resize

谁都会走 提交于 2019-12-12 01:45:45
问题 I am using ckeditor in a page with a 2 columns layout. The left column has a form with a ckeditor in it, and the right column has an image and some content. It's possible to resize the ckeditor textarea by dragging the bottom right corner, but the ckeditor window goes "under" the image/content in the right column. It's like the z-index of the ckeditor is inferior to the image/content in the other column, and I would like to change this behavior so the ckeditor goes "above" the image. Is it

HTML-Popovers best-way / Positioning / Z-Index

一笑奈何 提交于 2019-12-12 01:29:42
问题 I have a HTML-View and need position: relative; for placing some elements. Then, i have a popover. PROBLEM: Since some elements are positioned relative, z-index is not working anymore, and i found no way that the popover can overlap the relative positioned elements. QUESTION how to make popovers working properly and using underlaying elements, which are positioned relative? i gave the popover position: absolute; and then a second wrapper inside, with position: relative; and set them to a

Does position: fixed create a new stacking context for z-indicies?

会有一股神秘感。 提交于 2019-12-12 00:55:16
问题 The z-index spec makes no special mention of position: fixed , but this fiddle orders elements differently on Chrome 24. Does setting position: fixed create a new stacking context for child elements? 回答1: According to this post, Chrome 22+ mimics mobile WebKit's behavior and creates a new stacking context for fixed position elements. Firefox through at least 17 follows the spec and does not create a new context. 回答2: Here is an example where I have two fixed elements each with its own

Safari ignores z-index value

痞子三分冷 提交于 2019-12-11 20:17:50
问题 Good morning, I'm having trouble with a website I'm working on. I have a slider for my photos and drop down menu. It work fine on every other browser but in Safari my slider goes on top of the drop menu. In Safari (Mac version), In Other browsers, I have added the z-index to my menu CSS as below (then it started working on other browsers) #cssmenu { font-family: Montserrat, sans-serif; background: #333333; /*Always on top of everything*/ z-index: 999; } 回答1: After doing a full browser cache

How can I display a header element above my content?

无人久伴 提交于 2019-12-11 17:34:37
问题 How can I display all headers above the content divs? ('above' on the z-axis) so that the visible z-order is: CONTENT 1 (bottom-most element) CONTENT 2 HEADER 1 HEADER 2 (top-most element) I cannot change the DOM structure much: each header and div must be grouped in an article. Also, there will be an unknown number of these articles, not just two. article { position: fixed; opacity: .75; } article.one { transform: translateY(20px); color: blue; } article.two { transform: translateX(100px);

Displaying a div at a z-index above a jQuery Cycle slide show

旧巷老猫 提交于 2019-12-11 16:51:38
问题 I am using the jQuery cycle plugin here: http://www.mitchsflowers.dreamhosters.com/ The slides are in a relatively positioned div and it contains an absolutely positioned div to hold captions. This div is positioned above the cycling images but no matter what z-index I give the caption div the images hide it. Is there a way to get my caption div above the cycle images? #homeslides { margin:0 auto; width:985px; height:420px; overflow:hidden; position:relative; padding-top:12px; }

How to control z-index of a child of a sticky element

好久不见. 提交于 2019-12-11 16:16:09
问题 I have two container elements which have position: sticky and a z-index: 1 . One of those elements has a child node with position: absolute . I would like the child node to be visually on top of both container elements. This is the html structure I must keep and what I have tried: .square { height: 100px; width: 100px; position: absolute; background-color: red; z-index: 10; /* this doesn't work */ } .container { height: 40px; width: 200px; position: sticky; background-color: blue; margin-top:

z-index for button over jquery slider

时光总嘲笑我的痴心妄想 提交于 2019-12-11 13:18:28
问题 I have a full screen jquery slider and I need to put two buttons on it (to increase and decrease the speed of the slider). I tried with z-index in the css file but it's not working. div#lyr1 { position:relative; z-index:1; } .ui.button { ... position:relative; z-index:2;} And here's the html code <div id="wn"> <div id="lyr1"> <div id="inner1"> <img src="images/1-2.png" width="2000"height="1100" alt="" /> <img id="rpt1" src="images/1-2.png" width="2000" height="1100" alt="" /> </div> <div

CSS z-index not working with relative positioning

二次信任 提交于 2019-12-11 13:04:53
问题 I have some divs like so: <html> <body> <div id="out"> <div id="in"> <div id="one" style="position: relative; z-index: 3"> </div> <div id="two" style="position: relative; z-index: 2"> </div> <canvas id="three" style="position: relative; z-index: 1"> </canvas> <canvas id="four" class="hidden"> </canvas> </div> <-- Some more divs with position: static (default)--> </div> </body> </html> I want #one (stacked over) #two (stacked over) #three but all I get is #one (before) #two (before) #three