开发者

Div popup over jQuery border layout

开发者 https://www.devze.com 2022-12-15 00:29 出处:网络
I have a Border Layout. When i click any link i am trying to open a Div popup. Problem is the div popup is not appearing in the screen.

I have a Border Layout. When i click any link i am trying to open a Div popup.

Problem is the div popup is not appearing in the screen.

Below is the style of div popup.

.divclose {
    color:#993300;
    text-decoration:none;
    float:right;
}

.divbody {
    width:70%;
    padding:5px;
    border:2px solid #EFEFEF;
    b开发者_高级运维ackground-color:#FEFEFE;
}

Do i need to modify the css to make the div popup appear on the screen?


When using a div layer as popup you should set a z-index. Try this code

* {
    z-index: 1;
}

.divclose {
    color: #993300;
    text-decoration: none;
    float: right;
    z-index: 2;
}

.divbody {
    width: 70%;
    padding: 5px;
    border: 2px solid #EFEFEF;
    background-color: #FEFEFE;
    z-index: 2;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消