Home  >  Article  >  Web Front-end  >  层与层之间的位置_html/css_WEB-ITnose

层与层之间的位置_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:33:491059browse

    Untitled Page	
笔记本电脑
里面内容
笔记本电脑
里面内容


我鼠标移上去的时候,class为inside-wrap这块内容的相对位置,在IE8,firefox下是正常的,在ie6,7下就不正常
y轴不在同一水平线,请问css怎么写才能解决呢,搞了半天,搞不出来,请大侠帮忙
附加:如果上面的问题解决了,如果在class为inside-wrap这块下面铺一层iframe怎么实现呢


回复讨论(解决方案)

.wrap .row {
height: 30px;
padding-left: 20px;
cursor: pointer;
 position:relative;
}


.wrap .inside-wrap {
z-index: 100;
background-color: #fff;
height: 100px;
width:204px;
border: solid 1px #eee;
display:none;
position: absolute;
left: 200px; top:0;

}

这样就好了!

.wrap .row {
height: 30px;
padding-left: 20px;
cursor: pointer;
position:relative;
}


.wrap .inside-wrap {
z-index: 100;
background-color: #fff;
height: 100px;
width:204px;
border: soli……
+11

如果下面加个ifame的,可以再帮我实现下吗?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn