DIV的CSS Z索引属性. [英] Css z-index property for DIVs.

查看:104
本文介绍了DIV的CSS Z索引属性.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有两个股利.一种是容器.第二个是盒子.容器的高度为200像素,而框的高度为300像素. Box divis嵌套在容器div中.显示dox div时(仅在悬停时显示),最多可显示200px.如何将它放在前面?

谢谢!

hello,

I have two divs. One is container. The second is box. Th height of the container is 200px, whereas the height of the box is 300px. Box divis nested inside container div. When the dox div is displayed (it displays only on hover), as as much as 200px of it comes. How do I bring it to front?

Thanks!

推荐答案

好,我还做了一些搜索. http://tjkdesign.com/articles/z-index/teach_yourself_how_elements_stack.asp [ ^ ]是使用z顺序的示例.似乎设置z顺序确实会使盒子从其容器中浮出.我在本地更改了此设置,以使包含div的值太小而无法容纳这些div,并且仍然有效.拖放根本无法在IE中进行.因此,我认为您遇到了一个一般的IE问题,很难对此发表评论,而没有看到您的代码,我总是会遇到类似的问题,我可以在google上找到IE解决方法,但是很难根据以下条件进行搜索您的帖子中缺少代码.
OK, I''ve done some more searching. http://tjkdesign.com/articles/z-index/teach_yourself_how_elements_stack.asp[^] is a sample on using z-order. It seems that setting the z-order DOES float the boxes out of their containers. I changed this locally to make the containing div too small to hold these divs, and it still worked. The drag and drop does not work in IE at all. So, I think you have a general IE issue, which is hard to comment on, without seeing your code, I always find with issues like this, I can google and find the IE workaround, but it''s hard to search based on the lack of code in your post.


这篇关于DIV的CSS Z索引属性.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆