iframe 显示持续css,IFRAME中的CSS问题

我想在框架中打开一个modalpopup。我在这里贴了我的框架的htlm代码和css样式。这个代码适用于IE 7.0但不适用于IE 6.0。在IE 6.0中我看到我的面板中的滚动条。这可能导致这个问题?我该如何解决?

我在主页面中按这些宽度和高度打开框架。

这是框架的aspx:

Warning

这就是CSS:

/* dialog frame */

.modal-dialog

{

position:absolute;

margin:auto;

height:98px;

}

/* dialog contents container */

.modal-dialog .container

{

font-family:tahoma,helvetica,arial,sans-serif;

font-size:11px;

width:340px;

border:solid 1px #99aabd;

background-color:#F2F9FF;

padding: 0px 0px 0px 0px;

}

/* dialog header */

.modal-dialog .header

{

background:url(../images/sprite.gif) repeat-x 0px -1100px;

height:20px;

padding-top:5px;

}

/* dialog header message */

.modal-dialog .header .msg

{

vertical-align:middle;

padding-left:6px;

color:#fff;

font-size:12px;

font-weight:bold;

}

/* dialog body */

.modal-dialog .body

{

height:40px;

background-color:#F2F9FF;

}

/* dialog body message */

.modal-dialog .body h2

{

padding-top:10px;

background-color: #F2F9FF;

font-size:14px;

text-align:center;

font-weight:normal;

}

/* dialog footer */

.modal-dialog .footer

{

height:30px;

background-color: #F2F9FF;

}

/* dialog footer buttons */

.modal-dialog .footer .right

{

background-color: #F2F9FF;

float:none;

text-align:center;

}

/* dialog footer checkbox */

.modal-dialog .footer .left

{

background-color: #F2F9FF;

float:left;

text-align:left;

}

/* dialog close */

.modal-dialog .close

{

right:4px;

background: url(../images/icons.gif) no-repeat -732px 0px;

width:16px;

cursor:hand;

position:absolute;

top:5px;

height:16px;

}

/* dialog close hover */

.modal-dialog .close:hover { background: url(../images/icons.gif) no-repeat -749px 0px; }

/* modal overlay */

.modalBackground

{

background-color:Gray;

filter:alpha(opacity=50);

opacity:0.5;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值